|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 122
Members: 0
Total: 122
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
please decode |
|
Posted: Mon Jul 02, 2012 12:03 pm |
|
|
paspar |
Beginner |
|
|
Joined: Jul 02, 2012 |
Posts: 1 |
|
|
|
|
|
|
|
Code: | <?php $_F=__FILE__;$_X='P04NeDg/ewp7DXg3YmFuVWpjYTR6ZF9hRUJkKCRCY2JhVTwpDXhbDXg0NGo3KCRCY2JhVTxvbydWRWEnKTRbNCRhYkJfemMgPG8iM1EiOzRJDXg0NGo3KCRCY2JhVTxvbyddZG0nKTRbNCRhYkJfemMgPG8iM0QiOzRJNA14NDRqNygkQmNiYVU8b28nSEV6Jyk0WzQkYWJCX3pjIDxvIjNxIjs0STQNeDQ0ajcoJEJjYmFVPG9vJ2d7eicpNFs0JGFiQl96YyA8byIzUyI7NEk0DXg0NGo3KCRCY2JhVTxvbydIRWYnKTRbNCRhYkJfemMgPG8iM3UiOzRJNA14NDRqNygkQmNiYVU8b28nVmJhJyk0WzQkYWJCX3pjIDxvIjNoIjs0STQNeDQ0ajcoJEJjYmFVPG9vJ1ZiUCcpNFs0JGFiQl96YyA8byIzUiI7NEk0DXg0NGo3KCRCY2JhVTxvbydnYmUnKTRbNCRhYkJfemMgPG8iM0EiOzRJNA14NDRqNygkQmNiYVU8b28nPmR7Jyk0WzQkYWJCX3pjIDxvIjN5Ijs0STQNeDQ0ajcoJEJjYmFVPG9vJ2tuVScpNFs0JGFiQl96YyA8byJRMyI7NEk0DXg0NGo3KCRCY2JhVTxvbyc9Y1cnKTRbNCRhYkJfemMgPG8iUVEiOzRJNA14NDRqNygkQmNiYVU8b28nRmRuJyk0WzQ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FViemE0Ow14NDQ0SQ14NDQ0DXg0NDQjIyMjIyMjIyNuCmRuMjRVRW1QZDwNeDQNeDdiYW5VamNhNEJmPENQX2o8X1VFbVBkKCRVbVApNA14WzQNeDQ0NDQkVUVtUGQ8NG80RXp6RWYoKTs0DXgNeDQ0NDQkQzRvNEBCZjxDUF9DYmR6ZigiPjBrbDRKZy50cj4iKTs0DXg0NDQ0IApqUGQ0KCR6NG80QEJmPENQXzdkVW4KX0V6ekVmKCRDKSk0WzQkVUVtUGQ8MUw0bzQkejEzTDs0STQNeDQ0NDRAQmY8Q1BfN3pkZF96ZDxiUFUoJEMpOzQNeDQ0NDRAQmY8Q1BfblBjPGQoJFBqYTIpOzQNeDQ0NDRqNzQoamFfRXp6RWYoJFVtUCw0JFVFbVBkPCkpNFs0emRVYnphNEp9L3I7NEk0DXg0NDQ0ZFA8ZDRbNHpkVWJ6YTRdZ3Q+cjs0STQNeEk0DXg0DXgNeD9ODXgNeA==';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdLbkk5PWJ6ZlIgaWNkai5NcjhUbENaTzBHazJ9d1ZVZXBbbTVCUTx1U3k+RFhxdlB4aEZnQUhhNHMzTC90Nk5KRW97V1k3MV0KJywnQ2N9Wk51cnk3d3pvZWlCVkU8eFdxS0lIWU9rUi9KdGdYe2JqbTFzNTQ5UzIuM2RsCjZEQThNbiBHMF1VTFE+VGE9cHZQZltGaCcpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?> |
|
|
|
|
|
|
|
|
|
Posted: Tue Jul 03, 2012 5:54 am |
|
|
astra1993 |
Advanced user |
|
|
Joined: Jun 20, 2012 |
Posts: 125 |
|
|
|
|
|
|
|
Here you go:
Code: |
<?php
function re_name($mounts)
{
if($mounts=='Jan') { $num_rows="01"; }
if($mounts=='Feb') { $num_rows="02"; }
if($mounts=='Mar') { $num_rows="03"; }
if($mounts=='Apr') { $num_rows="04"; }
if($mounts=='May') { $num_rows="05"; }
if($mounts=='Jun') { $num_rows="06"; }
if($mounts=='Jul') { $num_rows="07"; }
if($mounts=='Aug') { $num_rows="08"; }
if($mounts=='Sep') { $num_rows="09"; }
if($mounts=='Oct') { $num_rows="10"; }
if($mounts=='Nov') { $num_rows="11"; }
if($mounts=='Dec') { $num_rows="12"; }
return $num_rows;
}
function re_name2($mounts)
{
if($mounts=='01') { $num_rows="Jan"; }
if($mounts=='02') { $num_rows="Feb"; }
if($mounts=='03') { $num_rows="Mar"; }
if($mounts=='04') { $num_rows="Apr"; }
if($mounts=='05') { $num_rows="May"; }
if($mounts=='06') { $num_rows="Jun"; }
if($mounts=='07') { $num_rows="Jul"; }
if($mounts=='08') { $num_rows="Aug"; }
if($mounts=='09') { $num_rows="Sep"; }
if($mounts=='10') { $num_rows="Oct"; }
if($mounts=='11') { $num_rows="Nov"; }
if($mounts=='12') { $num_rows="Dec"; }
return $num_rows;
}
//á»Å§ÇÅÒ¨Ò¡°Ò¹¢éÍÁÙÅ Mysql to ÇÅÒä·Â
function date_to_thai($date_en)
{
$date_thai_day = date('d',strtotime($date_en));
$date_thai_mont = date('m',strtotime($date_en));
$date_thai_year = date('Y',strtotime($date_en));
$date_thai_time = date('H:i',strtotime($date_en));
$date_thai_year =$date_thai_year +543;
if($date_thai_mont=="1"){ $date_thai_mont="Á.¤."; }
if($date_thai_mont=="2"){ $date_thai_mont="¡.¾."; }
if($date_thai_mont=="3"){ $date_thai_mont="ÁÕ.¤."; }
if($date_thai_mont=="4"){ $date_thai_mont="Á.Â."; }
if($date_thai_mont=="5"){ $date_thai_mont="¾.¤."; }
if($date_thai_mont=="6"){ $date_thai_mont="ÁÔ.Â."; }
if($date_thai_mont=="7"){ $date_thai_mont="¡.¤."; }
if($date_thai_mont=="8"){ $date_thai_mont="Ê.¤."; }
if($date_thai_mont=="9"){ $date_thai_mont="¡.Â."; }
if($date_thai_mont=="10"){ $date_thai_mont="µ.¤."; }
if($date_thai_mont=="11"){ $date_thai_mont="¾.Â."; }
if($date_thai_mont=="12"){ $date_thai_mont="¸.¤."; }
$time_thai=" $date_thai_day $date_thai_mont $date_thai_year ÇÅÒ $date_thai_time ¹Ò·Õ ";
echo $time_thai;
}
//============== insert ==============
function insert($field,$value,$table)
{
$sql = "INSERT INTO $table ($field) VALUES ($value)";
$result= mysql_query($sql);
return $result;
}
//=============== select ==================
function selectdb($table,$condition)
{
$sql = "select * from $table $condition";
$dbquery = mysql_query($sql);
$result= mysql_fetch_array($dbquery);
return $result;
}
//=============== Numrow ==================
function num_record($table,$condition)
{
$sql = "select * from $table $condition";
$dbquery = mysql_query($sql);
$num_rows = mysql_num_rows($dbquery);
return $num_rows;
}
//=============== ËÒ¼ÅÃÇÁ ==================
function num_lines($filess,$table,$condition)
{
$sql = "select count($filess) from $table";// $condition";
$dbquery = mysql_query($sql);
$result = mysql_fetch_array($db_query);
$aas=$result[log_time_date];
echo "$sql";
return $aas;
}
//=============== update ==================
function update($table,$command,$condition)
{
$sql = "UPDATE $table SET $command $condition";
$result = mysql_query($sql);
return $result;
}
//=============== ËÒ¼ÅÃÇÁ¢Í§µÒÃÒ§==================
function sumdb($table,$fdb,$condition)
{
$sql = "SELECT * , sum($fdb) as total_workdb from $table $condition ";
$result = mysql_query($sql);
return $result;
}
//=============== chk file type ==================
function chkType($chk_type_files,$files_pass) {
$files_pass="No"; //// ¡Ã³Õ ÁÕ¡ÒÃÍѾâËÅ´¢éÒÁÒµÑ駤èÒÃÔèÁµé¹»ç¹ No äÁèÃѺ äÇé¡è͹
if($chk_type_files =="") { $files_pass="None"; } //äÁèä´é upload ÃÙ»
else
{
//¡Ã³ÕÍѾâËÅ´Í¡ÊÒÃ
if( $chk_type_files =="application/pdf" || $chk_type_files=="text/plain"
|| $chk_type_files=="application/msword"
|| $chk_type_files=="application/x-shockwave-flash" )
{ $files_pass="Docs" ; }
//¡Ã³ÕÍѾâËÅ´ÃÙ»ÀÒ¾
if( $chk_type_files =="image/gif" || $chk_type_files=="image/bmp" || $chk_type_files=="image/pjpeg"
|| $chk_type_files=="image/pjpeg"
|| $chk_type_files=="image/x-png" )
{ $files_pass="jpg" ; }
}//¨º äÁèä´é upload ÃÙ»
return $files_pass;
}
//=============== źä¿Åì ==================
function del_data($pic_del)
{
unlink($pic_del); //źä¿Å´ÔÁ·Õè server ·Ôé§
return ;
}
#########check tables
function mysql_is_table($tbl)
{
$tables = array();
$q = @mysql_query("SHOW TABLES");
while ($r = @mysql_fetch_array($q)) { $tables[] = $r[0]; }
@mysql_free_result($q);
@mysql_close($link);
if (in_array($tbl, $tables)) { return TRUE; }
else { return FALSE; }
}
?>
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|