|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 63
Members: 0
Total: 63
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Please help me decode this PHP |
|
Posted: Wed Oct 07, 2009 12:41 am |
|
|
dopeyx27 |
Beginner |
|
|
Joined: Oct 07, 2009 |
Posts: 2 |
|
|
|
|
|
|
|
Code: | <?php
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%61%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64');$OO00O0000=2580;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0='OOO0000O0';eval(($$O0O0000O0('aWYoITApJE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO2ZnZXRzKCRPMDAwTzBPMDAsMTAyNCk7ZmdldHMoJE8wMDBPME8wMCw0MDk2KTskT08wME8wME8wPShiYXNlNjRfZGVjb2RlKHN0cnRyKGZyZWFkKCRPMDAwTzBPMDAsNzAwKSwnMjc4T3M1ckdCb3VpbmJIMUVYbWdqL0NVRjNBSnlReFp2RDBhY1BoU2Z3THR6OWxxV1RwNE1OWVIra0k2VktlZD0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpKTtldmFsKCRPTzAwTzAwTzApOw==')));return;?>
QYDwJrjfu8DwyRbPQ8vcm5Xjj5KgX/oCX/oZ/c5mjNzSjM/m/c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Thanks in advanced for your help! |
|
|
|
|
|
|
|
|
Posted: Wed Oct 07, 2009 6:23 am |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
Code: | <?php
if (!ini_get('register_globals')) {$superglobals = array($_SERVER,$_ENV,$_FILES,$_COOKIE,$_POST,$_GET);if (isset($_SESSION)) {array_unshift($superglobals,$_SESSION);}foreach ($superglobals as $superglobal) {extract($superglobal,EXTR_SKIP);}ini_set('register_globals',true);}
define('MENUID',1);
define('SITEID',1);
include 'db.inc.php';
require ''.$root.'core/smarty/Smarty.class.php';
$smarty = new Smarty;
$smarty->debugging = false;
$smarty->caching = false;
class databaseconfig {
function connectconfig () {
global $db;
$this->conn = mysql_connect($db['server'],$db['username'],$db['password']);
if (!$this->conn) {
echo "<p>MySQL Error #".mysql_errno() ."</b></p>n<p>".mysql_error() ."</p>n";
}
$this->selectdbconfig($db['name']);
}
function selectDBconfig ($dbname) {
if (!mysql_select_db($dbname,$this->conn)) {
echo "<p>MySQL Error #".mysql_errno() ."</b></p>n<p>".mysql_error() ."</p>n";
}
}
function queryconfig ($query) {
$result = mysql_query($query);
if (!$result) {
echo $query .'could not be completed.';
}
return $result;
}
}
$database2 = new databaseconfig();
$database2->connectconfig();
$config_query = $database2->queryconfig("select * from config where id = ".SITEID."");
$config = mysql_fetch_array($config_query);
define('DELIVERY',$config['delivery']);
define('ACCEPT_CREDIT',$config['credit']);
define('ADMIN_USERNAME',$config['username']);
define('ADMIN_PASSWORD',$config['password']);
define('CURRENCY','$');
define('ADMIN_EMAIL',$config['email']);
define('SITE_NAME',$config['sitename']);
define('TAX_PERCENT',$config['tax']);
define('DELIVERY_FEE',$config['deliveryfee']);
define('HOMECONTENT',$config['home']);
define('TEMPLATE',$config['template']);
define('ROOT',$root);
define('SITEROOT',$siteroot);
$smarty->assign('title',$config['title']);
$smarty->assign('description',$config['description']);
$smarty->assign('keywords',$config['keywords']);
?>
<?php
if (!ini_get('register_globals')) {$superglobals = array($_SERVER,$_ENV,$_FILES,$_COOKIE,$_POST,$_GET);if (isset($_SESSION)) {array_unshift($superglobals,$_SESSION);}foreach ($superglobals as $superglobal) {extract($superglobal,EXTR_SKIP);}ini_set('register_globals',true);}
define('MENUID',1);
define('SITEID',1);
include 'db.inc.php';
require ''.$root.'core/smarty/Smarty.class.php';
$smarty = new Smarty;
$smarty->debugging = false;
$smarty->caching = false;
class databaseconfig {
function connectconfig () {
global $db;
$this->conn = mysql_connect($db['server'],$db['username'],$db['password']);
if (!$this->conn) {
echo "<p>MySQL Error #".mysql_errno() ."</b></p>n<p>".mysql_error() ."</p>n";
}
$this->selectdbconfig($db['name']);
}
function selectDBconfig ($dbname) {
if (!mysql_select_db($dbname,$this->conn)) {
echo "<p>MySQL Error #".mysql_errno() ."</b></p>n<p>".mysql_error() ."</p>n";
}
}
function queryconfig ($query) {
$result = mysql_query($query);
if (!$result) {
echo $query .'could not be completed.';
}
return $result;
}
}
$database2 = new databaseconfig();
$database2->connectconfig();
$config_query = $database2->queryconfig("select * from config where id = ".SITEID."");
$config = mysql_fetch_array($config_query);
define('DELIVERY',$config['delivery']);
define('ACCEPT_CREDIT',$config['credit']);
define('ADMIN_USERNAME',$config['username']);
define('ADMIN_PASSWORD',$config['password']);
define('CURRENCY','$');
define('ADMIN_EMAIL',$config['email']);
define('SITE_NAME',$config['sitename']);
define('TAX_PERCENT',$config['tax']);
define('DELIVERY_FEE',$config['deliveryfee']);
define('HOMECONTENT',$config['home']);
define('TEMPLATE',$config['template']);
define('ROOT',$root);
define('SITEROOT',$siteroot);
$smarty->assign('title',$config['title']);
$smarty->assign('description',$config['description']);
$smarty->assign('keywords',$config['keywords']);
?> |
|
|
|
|
|
|
|
|
|
Posted: Wed Oct 07, 2009 4:09 pm |
|
|
dopeyx27 |
Beginner |
|
|
Joined: Oct 07, 2009 |
Posts: 2 |
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|