Waraxe IT Security Portal
Login or Register
November 5, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 79
Members: 0
Total: 79
Full disclosure
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
APPLE-SA-10-28-2024-3 macOS Sequoia 15.1
APPLE-SA-10-28-2024-2 iOS 17.7.1 and iPadOS 17.7.1
APPLE-SA-10-28-2024-1 iOS 18.1 and iPadOS 18.1
Open Redirect / Reflected XSS - booked-schedulerv2.8.5
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> the master help me in this decoding
Post new topicReply to topic View previous topic :: View next topic
the master help me in this decoding
PostPosted: Sun Mar 28, 2010 1:48 am Reply with quote
cah_gemblunk
Regular user
Regular user
Joined: Mar 28, 2010
Posts: 8






Last edited by cah_gemblunk on Fri Apr 02, 2010 1:27 am; edited 3 times in total
View user's profile Send private message
PostPosted: Sun Mar 28, 2010 2:47 am Reply with quote
Cyko
Moderator
Moderator
Joined: Jul 21, 2009
Posts: 375




one.php:

Code:
<?php
include 'config.inc.php';
$number =$_REQUEST["number"];
$modeofform =$_POST["modeofform"];
$text =$_POST["Text"];
$inboxid =$_GET["inboxid"];
$userid = $useridx;
$SMSCRoute =$_POST["SMSCRoute"];
$Phonenumbers =$_POST["Phonenumbers"];
if(CountThisDay(outbox,datetime,$tglskr)>100){
echo "<div class=salah>Maaf, Hari ini anda telah mengirim 100 SMS. software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 100 SMS perhari, <br>bila ingin mencoba mengirim SMS massal banyak tanpa batas, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>";
exit;
}
?>

<?php
$pemisah=array(">","=",",");
if(empty($modeofform)) $modeofform="";
if(($modeofform=="u") || ($modeofform=="i")) {
dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]);
$outboxid=addslashes($outboxid);
$text=addslashes($text);
$processed=addslashes($processed);
$pemisah=array(">","=",",");
if($modeofform=="x"){
dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]);
$sql="update outbox
set
outboxid='$outboxid',
number='$number',
text='$text',
datetime='$datetime',
processed='$processed'
where outboxid=$outboxid";
dbquery($sql);
echo $updated_msg;
exit;
}
else {
$textsms = urlencode($text);
################################################################ IF PBGROUPID
if($pbgroupid){
$id_template=$temp2group;
$sqllog_outbox="insert into log_outbox
(smscroute,datetime,id_template,pbgroupid,text)
Values
('$smscroute','$datetime','$id_template','$pbgroupid','$text')";
dbquery($sqllog_outbox);
$id_log_outbox=mysql_insert_id();
if($pbgroupid=="all"){
$sql2 ="select pbid,pbgroupid,name,number,datetime from pb $q";
$query2 = dbquery($sql2);
$quantos= mysql_num_rows($query2);
if($quantos>10){
echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br>
bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br>
hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>";
exit;
}
}
else if($pbgroupid=="KIRIM ULANG"){
$q = "where processed = '0000-00-00 00:00:00' ";
$sql2="select outboxid,number,text from outbox $q";
$query2 = dbquery($sql2);
$quantos= mysql_num_rows($query2);
if($quantos>10){
echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br>
bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br>
hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>";
exit;
}
}
else{
$q = "where pbgroupid='$pbgroupid' or
pbgroupid2='$pbgroupid' or
pbgroupid3='$pbgroupid' or
pbgroupid4='$pbgroupid' or
pbgroupid5='$pbgroupid' ";
$sql2="select pbid,pbgroupid,name,number,datetime from pb $q";
$query2 = dbquery($sql2);
$quantos= mysql_num_rows($query2);
/*
if($quantos>10){
echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br>
bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br>
hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>";
exit;
}
*/ }
$data2=mysql_query($sql2);
//echo "SMS proses dikirim ke : ";
while($row2=mysql_fetch_array($data2)){
if($pbgroupid=="KIRIM ULANG"){
$outboxid=stripslashes($row2["outboxid"]);
$number=stripslashes($row2["number"]);
$text=stripslashes($row2["text"]);
}
else{
$name=stripslashes($row2["name"]);
$number=stripslashes($row2["number"]);
if(!$number){
continue;
}
$numberx=zeroto62($number);
echo $sql="insert into outbox
(number,text,datetime,processed,userid)
Values
('$numberx','$text','$datetime','$processed','$userid')";
dbquery($sql);
$outboxid=mysql_insert_id();
}
if($number) echo $handle = SendSMS($number, $text,$SMSCRoute) ;
if($handle){
$handle=str_replace($pemisah," ",$handle);
$arrhandle=explode(" ",$handle);
$carrhandle=count($arrhandle);
//for($i=0;$i<$carrhandle;$i++){ $MessageID .= "$i $arrhandle[$i]________ "; }
$MessageID = $arrhandle[29];
Update1(outbox,MessageID,$MessageID,outboxid,$outboxid);
Update1(outbox,processed,$datetime,outboxid,$outboxid);
log_template($id_template,$outboxid,$datetime);
echo "$name ($number) ........ ";
$arrhandle="";
}
else{
echo "SMS gagal dikirim";
}
}
echo $loading;
echo "<META HTTP-EQUIV=refresh CONTENT=2;URL=?d=outbox&f=outbox.list";
exit;
################################################################ END FOR GROUP
}
else{
$arrnumber=explode(";",$Phonenumbers);
$countnumber = count($arrnumber);
if($countnumber>10){
echo "<div class=salah>Maaf, software SMS Center versi gratis ini hanya bisa mengirim SMS maksimal 10 nomor HP untuk sekali kirim, <br>bila ingin mencoba mengirim SMS massal banyak (maksimal 10ribu nomor HP sekali klik, gunakan software SMS Center versi personal<br> hubungi email aswandiweb@gmail.com untuk informasi lebih lanjut </div>";
exit;
}
for($i=0;
$i<$countnumber;
$i++){
if($arrnumber[$i]){
$numberx=zeroto62($arrnumber[$i]);
$sql="insert into outbox
(number,text,datetime,processed,userid)
Values
('$numberx','$text','$datetime','$processed','$userid')";
dbquery($sql);
$outboxid=mysql_insert_id();
echo $handle = SendSMS($arrnumber[$i], $text,$SMSCRoute) ;
if($handle){
in2log($datetime,$userid,"kirim sms kenumber $number text $text SMSCRoute $SMSCRoute validhp $validhp pbidRECEIPTMESSAGEID $pbidRECEIPTMESSAGEID");
if($temp2pb){
$id_template = $temp2pb;
$sql="insert into log_template
(id_log_template,id_template,outboxid,datetime)
Values
('$id_log_template','$id_template','$outboxid','$datetime')";
dbquery($sql);
}
$handle=str_replace($pemisah," ",$handle);
$arrhandle=explode(" ",$handle);
$carrhandle=count($arrhandle);
//for($i=0;$i<$carrhandle;$i++){ $MessageID .= "$i $arrhandle[$i]________ "; }
$MessageID = $arrhandle[29];
Update1(outbox,MessageID,$MessageID,outboxid,$outboxid);
Update1(outbox,processed,$datetime,outboxid,$outboxid);
Update1(inbox,processed,"1",inboxid,$inboxid);
in2reply($inboxid,$outboxid,"0");
echo "SMS proses dikirim<p>";
}
else{
echo "SMS gagal dikirim";
}
}
}
echo $loading;
echo "<META HTTP-EQUIV=refresh CONTENT=2;URL=?d=outbox&f=outbox.list";
exit;
}
}
}
elseif(isset($outboxid)){
$modeofform="i";
dbconnect($site["dbhost"], $site["dblogin"], $site["dbpass"], $site["dbname"], $site["dbport"]);
$sql="select outboxid,number,text,datetime,processed from outbox
where outboxid=$outboxid";
$reslt=dbquery($sql);
$row = dbnext($reslt);
$outboxid=stripslashes($row["outboxid"]);
$number=stripslashes($row["number"]);
$text=stripslashes($row["text"]);
$datetime=stripslashes($row["datetime"]);
$processed=stripslashes($row["processed"]);
}
else {
$modeofform="i";
}
if($inboxid4forward){
$text = TulisNama(text,inbox,inboxid,$inboxid4forward);
}
if($temp2pb){
$text = TulisNama(template,template,id_template,$temp2pb);
}
if($forward2group){
$text = TulisNama(text,inbox,inboxid,$forward2group);
}
if($temp2group){
$text = TulisNama(template,template,id_template,$temp2group);
}
if($outbox2group){
$text = TulisNama(text,outbox,outboxid,$outbox2group);
}
?>

<BODY>
<FORM method="post" enctype="multipart-form-data" name="smsform"
onsubmit="clearTextBoxCounter()"
action="">
<TABLE border=0>
<TR>
<TD colspan="2" class=headgbr>KIRIM SMS</TD>
</TR>
<? if($pbgroupid || $forward2group || $outbox2group || $temp2group){
?>
<TR>
<TD>Group</TD>
<TD>
<? if($pbgroupid=="all"){
echo "Semua";
}
else{
echo GetValue1(pbgroupid,pbgroupname,pbgroup,$pbgroupid);
}
?></TD>
</TR>

<? }
else{
?>
<TR>
<TD>Nomor HP</TD>
<TD>
<input name="Phonenumbers" type="text" class="gensmall" value="<?php echo @$number;
?>" size="40"" />
<input type="button" name="Button2" value=" ... " class="tombol" onClick="Javascript:OpenSearch('phonebook.php')" /> </TD>
</TR>
<? }
?>
<TR>
<TD valign="top">Isi SMS</TD>
<TD>
<textarea rows="6" name="Text" cols="48" onKeyUp="updateTextBoxCounter()"><?php $header = TulisNama(header,config,configid,1);
$footer = TulisNama(footer,config,configid,1);
if($text){
echo $text;
}
else{
echo "$header \n\n$footer";
}
?></textarea>
<br>
Ambil Template
<input type="button" name="Button22" value=" ... " class="tombol" onClick="Javascript:OpenSearch('template.php')" />
<br>
<INPUT TYPE="TEXT" SIZE="39" NAME="InfoCharCounter">
<span class="MsoNormal">
<INPUT TYPE="hidden" SIZE="10" NAME="DestPort" onKeyUp="updateTextBoxCounter()">
</span> </p></TD>
</TR>
<TR>
<TD valign="top"></TD>
<TD><? $SMSCRoute =TulisNama(modem,inbox,inboxid,$inboxid);
echo "Melalui $SMSCRoute";
echo Opsi1($SMSCRoute,smscroute,SMSCRoute) //GetValue4(smscroute,smscroute) ; //GetValue3(smscroute,smscroute,smscroute,SMSCRoute,$SMSCRoute);
?>
</TD>
</TR>
<TR>
<TD> ;;</TD>
<TD><INPUT TYPE=Submit value="KIRIM"></TD>
</TR>
</TABLE>
<input type="hidden" name="modeofform" value="<?php echo $modeofform;
?>">
<?php if(isset($outboxid)) echo "<input type='hidden' name='outboxid' value='$outboxid'>";
?>
</FORM>
View user's profile Send private message
PostPosted: Sun Mar 28, 2010 2:48 am Reply with quote
Cyko
Moderator
Moderator
Joined: Jul 21, 2009
Posts: 375




Second one:

Code:
<?php
function kirimsms($number,$text,$inboxid){
global $db;
$number = zeroto62($number);
$pemisah=array(">","=",",");
$datetime =date("Y-m-d H:i:s");
$sql2="insert into outbox
(number,text,datetime)
Values
('$number','$text','$datetime')";
dbquery($sql2);
$outboxid=mysql_insert_id();
$auto=1;
in2reply($inboxid,$outboxid,$auto);
$SMSCRoute = TulisNama(modem,inbox,inboxid,$inboxid);
$handle = SendSMS($number, $text,$smscroute) ;
if($handle){
$handle=str_replace($pemisah," ",$handle);
$arrhandle=explode(" ",$handle);
$carrhandle=count($arrhandle);
//for($i=0;$i<$carrhandle;$i++){ $MessageID .= "$i $arrhandle[$i]________ "; }
$MessageID = $arrhandle[29];
Update1(outbox,MessageID,$MessageID,outboxid,$outboxid);
Update1(outbox,processed,$datetime,outboxid,$outboxid);
}
}
function kirimsms2($number,$text,$SMSCRoute){
global $db;
$number = zeroto62($number);
$pemisah=array(">","=",",");
$datetime =date("Y-m-d H:i:s");
$sql="insert into outbox
(number,text,datetime,userid)
Values
('$number','$text','$datetime','$userid')";
dbquery($sql);
$outboxid=mysql_insert_id();
$handle = SendSMS($number, $text,$SMSCRoute) ;
if($handle){
$handle=str_replace($pemisah," ",$handle);
$arrhandle=explode(" ",$handle);
$carrhandle=count($arrhandle);
$MessageID = $arrhandle[29];
Update1(outbox,MessageID,$MessageID,outboxid,$outboxid);
Update1(outbox,processed,$datetime,outboxid,$outboxid);
}
}
?>
View user's profile Send private message
PostPosted: Sun Mar 28, 2010 2:49 am Reply with quote
Cyko
Moderator
Moderator
Joined: Jul 21, 2009
Posts: 375




Third one:

Code:
<?php
$checkbox = $_POST['checkbox'];
$countin=count($checkbox);
$hitung = CountTotal(outbox);
if($hitung>1000){
echo "Maaf anda hanya bisa mengirim sampai 1000 SMS pada versi trial ini";
exit;
}
if(!$countin){
echo "maaf anda tidak menconteng satupun nomor hp";
exit;
}
include 'f-inbox.php';
echo "SMS sedang antri untuk dikirim ke :<br>";
for($i=0;
$i<$countin;
$i++){
if($checkbox[$i]){
$number = TulisNama(number,pb,pbid,$checkbox[$i]);
kirimsms2($number,$Text,$SMSCRoute);
$nama = TulisNama(name,pb,pbid,$checkbox[$i]);
$number = plus62tozero($number);
echo "$nama ($number) ... <br>";
}
}
?>
<p>
Untuk melihat data SMS keluar silahkan masuk ke halaman <a href="?d=outbox&f=outbox.list"> OUTBOX </a>
View user's profile Send private message
the master help me in this decoding
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT
Page 1 of 1

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.046 Seconds