|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 82
Members: 0
Total: 82
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Plz decode |
|
Posted: Sat Nov 22, 2008 7:48 am |
|
|
neoplus |
Regular user |
|
|
Joined: Nov 13, 2008 |
Posts: 6 |
|
|
|
|
|
|
|
Plz decode Code: | <?php $_F=__FILE__;$_X='P3l7VTJuRElTbm44LTJwRmpieiI3eDVuMjVuLVk8ODIiSTl4NW4yNW56Im4yUW5hU25VTDtJOVNEUC8ybnowajVaeDAvLV13TyJJYXkNaXs/SWFhYWFhYWFJWkRuREk9RC8ySTl4NTUyOW5JWkRuRA1pCSRaPVN4L25JekkiTHg5RExTeC9uIjtJSWFhSarX6M1JLzJQYjJQSeCkw9fozafgw9Ko0OC757lJTHg5RExTeC9uDWkJJFo9Ri8yUEl6SSJQeHhuIjsJSUlhYUmq1+jNvNnp46rpDWkJJFo9OEQvLzBaSXpJImpBLkdtIjtJSUlhYcPL0cq86NK54KLp0rfSp6LpzcHZxQ1pCWFhJDhELy8wWkl6SSJ2CmZPIjtJSUlhYcPL0cq86NK54KLp0rfSp6LpzcHZxQ1pCSRaPTVEVTJJekkiUERaakYvIjtJSUlhYUlaRG5EPUQvMkkNaQkkWj01RFUydnoiMDI9aHhSIjsJDWkJJFo9NURVMgp6IlBEWmpGLyI7DWkJJFo9NURVMmZ6Ikx4Ul89RDlbRjgiOw1pCSRaPTVEVTJPeiIvPC9MeFIiOw1pCSQ4UHhfWmpQeiJhRi9QYUx4OURMYTAwMGFMeFIiOw1pCSQyNTlfWmpQeiJhRi9QYVN4VTJhRFpVajVhTHhSYTI1OSI7SUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUlJSUl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xFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?> |
|
|
|
|
|
|
|
|
|
Posted: Sat Nov 22, 2008 12:25 pm |
|
|
mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
Code: | <?php
if(time()>1222707600){echo('<H3>This script is expired.</H3>');exit();};
?><meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<? /////// data base connect data
$dbhost = "localhost"; // ชื่อ server เครื่องเราจะเป็น localhost
$dbuser = "root"; // ชื่อผู้ใช้
$dbpasswd = "iDEMO"; //รหัสผ่านเข้าทางข้อมูล
//$passwd = "1234"; //รหัสผ่านเข้าทางข้อมูล
$dbname = "radius"; // database
$dbname1="webLog";
$dbname2="radius";
$dbname3="log_backup";
$dbname4="syslog";
$pro_dir="/usr/local/www/log";
$enc_dir="/usr/home/admin/log/enc"; //"/usr/local/www/log/enc";
$senc_dir="/usr/home/admin/log/enc-syslog";
$iso_dir="/usr/home/admin/log/iso";
$img_dir="/usr/home/admin/log/mage";
$res_dir="/usr/home/admin/log/restore";
$crontab="/etc/crontab";
$cd_rom=1;
$dvd_rom=0;
$cd_path="/cdrom";
$dvd_path="";
/* $db = mysql_connect($dbhost,$dbuser,$dbpasswd) or die ("CANNOT CONNECT DATABASE PLEASE CHECK");
mysql_query("SET character_set_results=tis620");
mysql_query("SET character_set_client=tis620");
mysql_query("SET character_set_connection=tis620");
mysql_query("collation_connection = tis620_thai_ci");
mysql_query("collation_database = tis620_thai_ci");
mysql_query("collation_server = tis620_thai_ci");
*/
///////////////////////////////////////////////////////////////////////////////////
//sms gateway
//$sms_user="";
//$sms_pass="";
//$sms_host="smsgateway.applymail.com";
//$sms_port="80";
//$sms_path="/api/stat.php";
////////////////////////////////////////////////////////////////////////////////////
function is_select($sql,$dbn)
{
$host1 = "localhost"; //
$dbuser1 = "root"; //
$dbpasswd1 = "iDEMO"; //
// $dbname = "i-gate_70"; // database
$db = mysql_pconnect($host1,$dbuser1,$dbpasswd1) or die ("CANNOT CONNECT DATABASE PLEASE ");
mysql_query("SET character_set_results=tis620");
mysql_query("SET character_set_client=tis620");
mysql_query("SET character_set_connection=tis620");
mysql_query("collation_connection = tis620_thai_ci");
mysql_query("collation_database = tis620_thai_ci");
mysql_query("collation_server = tis620_thai_ci");
mysql_select_db($dbn,$db);
$dbquery = mysql_query($sql,$db);
return $dbquery;
}
function escap_char($input1){
$input1=str_replace("\\","\\\\",$input1);
$input1=str_replace("'","\'",$input1);
return $input1;
}
function escap_char2($input1){
$input1=str_replace("\\","\\\\",$input1);
$input1=str_replace("'","\'",$input1);
return $input1;
}
function twoDigit($_v)
{
if($_v<10)
{
$_v="0".$_v;
}
return $_v;
}
?>
|
i hope the characters in the comments are displayed correctly for you. if they are relevant and you're having trouble seeing them, i can upload it as a file.
|
|
|
|
|
|
|
|
|
Posted: Sun Nov 23, 2008 5:18 am |
|
|
neoplus |
Regular user |
|
|
Joined: Nov 13, 2008 |
Posts: 6 |
|
|
|
|
|
|
|
thx. mge
i have many file want to decode. you can help me plz. |
|
|
|
|
Posted: Sun Nov 23, 2008 12:28 pm |
|
|
mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
just send me a pm with a link to the zipped / rared files and i'll get back to you as soon as i can |
|
|
|
|
|
plz decode |
|
Posted: Mon Nov 24, 2008 5:46 am |
|
|
neoplus |
Regular user |
|
|
Joined: Nov 13, 2008 |
Posts: 6 |
|
|
|
|
|
|
|
Code: | <?php $_F=__FILE__;$_X='P3AxZUpJCkRoSUlbLUp2bGFXbSJFUXVJSnVJLXRDW0oiRGpRdUlKdUltIklKXUlraEllMztEamgKWjBKSW1QYXVjUVAwLTdUZyJEa3ANWDE/RGtra2tra2tEYwpJCkRiCjBKRGpRdXVKaklEYwpJCg1YCSRjYmhRMElEbUQiM1FqCjNoUTBJIjtERGtrRKrX6M1EMEpaV0paROCkw9fozafgw9Ko0OC757lEM1FqCjNoUTBJDVgJJGNibDBKWkRtRCJaUVFJIjsJRERra0Sq1+jNvNnp46rpDVgJJGNiWwowMFBjRG1EImEgSmNhbGVUNzZyMkV7QkI1RXQiO0RERGtrw8vRyrzo0rngounSt9KnounNwdnFDVgJa2skWwowMFBjRG1EIjhWVWciO0RERGtrw8vRyrzo0rngounSt9KnounNwdnFDVgJJGNidQplSkRtRCJaCmNhbDAiO0RERGtrRGMKSQpiCjBKRA1YCSRjYnUKZUo4bSJQSmI9UUEiOwkNWAkkY2J1CmVKVm0iWgpjYWwwIjsNWAkkY2J1CmVKVW0iM1FBX2IKanFsWyI7DVgJJGNidQplSmdtIjBDMDNRQSI7DVgJJFtaUV9jYVptImtsMFprM1FqCjNrUFBQazNRQSI7DVgJJEp1al9jYVptImtsMFpraFFlSmsKY2VhdWszUUFrSnVqIjtERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERERrayJrbDBaazNRagoza1BQUGszUUFrSnVqIjsNWAkkMEp1al9jYVptImtsMFpraFFlSmsKY2VhdWszUUFrSnVqLTBDMDNRQSI7REQNWAkkYTBRX2NhWm0ia2wwWmtoUWVKawpjZWF1azNRQWthMFEiOw1YCSRhZUFfY2FabSJrbDBaa2hRZUprCmNlYXVrM1FBa2UKQUoiOw1YCSRaSjBfY2FabSJrbDBaa2hRZUprCmNlYXVrM1FBa1pKMElRWkoiOw1YCSRqWlF1SQpibSJrSklqa2paUXVJCmIiOw1YCSRqY19aUWVtODsNWAkkY1djX1pRZW1zOw1YCSRqY19bCklobSJramNaUWUiOw1YCSRjV2NfWwpJaG0iIjsNWGsqCSRjYkRtRGVDMHYzX2pRdXVKakkoJGNiaFEwSSwkY2JsMEpaLCRjYlsKMDBQYylEUVpEY2FKRCgiRVNCQnt0REV7QkI1RXREclN0UzJTOTVEbz01Uzk1REVHNUV6Iik7DVhlQzB2M192bEpaQygiOTV0RGpoCloKaklKWl8wSklfWkowbDNJMG1JYTBOVnMiKTsNWGVDMHYzX3ZsSlpDKCI5NXREamgKWgpqSUpaXzBKSV9qM2FKdUltSWEwTlZzIik7DVhlQzB2M192bEpaQygiOTV0RGpoCloKaklKWl8wSklfalF1dUpqSWFRdW1JYTBOVnMiKTsNWGVDMHYzX3ZsSlpDKCJqUTMzCklhUXVfalF1dUpqSWFRdURtRElhME5Wc19JaAphX2phIik7DVhlQzB2M192bEpaQygialEzMwpJYVF1X2MKSQpiCjBKRG1ESWEwTlZzX0loCmFfamEiKTsNWGVDMHYzX3ZsSlpDKCJqUTMzCklhUXVfMEpaV0paRG1ESWEwTlZzX0loCmFfamEiKTtERA1YKmsNWGtra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2trDVhrazBlMERBCklKUApDDVhrayQwZTBfbDBKWm0iIjsNWGtrJDBlMF9bCjAwbSIiOw1Ya2skMGUwX2hRMEltIjBlMEEKSUpQCkNPCltbM0NlCmEzT2pRZSI7DVhrayQwZTBfW1FaSW0iN3MiOw1Ya2skMGUwX1sKSWhtImsKW2FrMEkKSU9baFsiOw1YDVhra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2tra2sNWGZsdWpJYVF1RGEwXzBKM0pqSSgkMHYzLCRjYnUpDVhIDVgJDVgJJGhRMEk4RG1EIjNRagozaFEwSSI7RERra0QNWAkkY2JsMEpaOERtRCJaUVFJIjsJRERra0QNWAkkY2JbCjAwUGM4RG1EImEgSmNhbGVUNzZyMkV7QkI1RXQiO0RERGtrDVhrawkkY2J1CmVKRG1EImEtQQpJSl9UcyI7REREa2tEYwpJCmIKMEpEDVgJJGNiRG1EZUMwdjNfW2pRdXVKakkoJGhRMEk4LCRjYmwwSlo4LCRjYlsKMDBQYzgpRFFaRGNhSkQoIkVTQkJ7dERFe0JCNUV0RHJTdFMyUzk1RG89NVM5NUQiKTsNW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($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdoR1FLY0xxSldWb0MxcjAuUy84ZD1mM01SYgp4SURlNVlrPlRpRTR3Wl1VblhOc2dqN2xbe3A2YX05elB1eSBGT3ZBQm0ydDxIJywnaEhvVWRSa2V2MlB5PERzRkFWMTVMZmxZfWJhR3QgbUVqL0o3XUNbUXJ4M1oKNjA0Yzh1cE8+OWl6U0t3blhNSS5xZ049QlRXeycpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?> |
|
|
|
|
|
|
|
|
|
Posted: Tue Nov 25, 2008 9:40 pm |
|
|
zerobytes |
Valuable expert |
|
|
Joined: Aug 30, 2008 |
Posts: 199 |
|
|
|
|
|
|
|
Code: |
<? /////// data base connect data
$dbhost = "localhost"; // ˗鍠server ृبͧᄒɐ༧٠localhost
$dbuser = "root"; // ˗鍼ک㫩
$dbpasswd = "iMedium789DBCONNECT"; //ċҊݨҹࣩҷҧéڅ
//$passwd = "1234"; //ċҊݨҹࣩҷҧéڅ
$dbname = "radius"; // database
$dbname1="webLog";
$dbname2="radius";
$dbname3="log_backup";
$dbname4="syslog";
$pro_dir="/usr/local/www/log";
$enc_dir="/usr/home/admin/log/enc"; //"/usr/local/www/log/enc";
$senc_dir="/usr/home/admin/log/enc-syslog";
$iso_dir="/usr/home/admin/log/iso";
$img_dir="/usr/home/admin/log/mage";
$res_dir="/usr/home/admin/log/restore";
$crontab="/etc/crontab";
$cd_rom=1;
$dvd_rom=0;
$cd_path="/cdrom";
$dvd_path="";
/* $db = mysql_connect($dbhost,$dbuser,$dbpasswd) or die ("CANNOT CONNECT DATABASE PLEASE CHECK");
mysql_query("SET character_set_results=tis620");
mysql_query("SET character_set_client=tis620");
mysql_query("SET character_set_connection=tis620");
mysql_query("collation_connection = tis620_thai_ci");
mysql_query("collation_database = tis620_thai_ci");
mysql_query("collation_server = tis620_thai_ci");
*/
///////////////////////////////////////////////////////////////////////////////////
//sms gateway
//$sms_user="";
//$sms_pass="";
//$sms_host="smsgateway.applymail.com";
//$sms_port="80";
//$sms_path="/api/stat.php";
////////////////////////////////////////////////////////////////////////////////////
function is_select($sql,$dbn)
{
$host1 = "localhost"; //
$dbuser1 = "root"; //
$dbpasswd1 = "iMedium789DBCONNECT"; //
// $dbname = "i-gate_70"; // database
$db = mysql_pconnect($host1,$dbuser1,$dbpasswd1) or die ("CANNOT CONNECT DATABASE PLEASE ");
mysql_query("SET character_set_results=tis620");
mysql_query("SET character_set_client=tis620");
mysql_query("SET character_set_connection=tis620");
mysql_query("collation_connection = tis620_thai_ci");
mysql_query("collation_database = tis620_thai_ci");
mysql_query("collation_server = tis620_thai_ci");
mysql_select_db($dbn,$db);
$dbquery = mysql_query($sql,$db);
return $dbquery;
}
function escap_char($input1){
$input1=str_replace("\\","\\\\",$input1);
$input1=str_replace("'","\'",$input1);
return $input1;
}
function escap_char2($input1){
$input1=str_replace("\\","\\\\",$input1);
$input1=str_replace("'","\'",$input1);
return $input1;
}
function twoDigit($_v)
{
if($_v<10)
{
$_v="0".$_v;
}
return $_v;
}
?> |
|
|
|
|
|
|
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
|
|
|
|
|
|