|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 50
Members: 0
Total: 50
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Please decode this script. Thanks. |
|
Posted: Sun Oct 26, 2008 6:55 am |
|
|
nerdzen |
Beginner |
|
|
Joined: Oct 26, 2008 |
Posts: 2 |
|
|
|
|
|
|
|
<?php $_F=__FILE__;$_X='P2lCP1ouWg1WOU1Bc0hNKCdUM3VLX0kzdTNUJyw+SmFhKTsNViRzbl9uZUFNX1lPOU0+Uz5zSHNfeE09KCduZUFNX1lPOU0nKT5TUz4nMCc+Pz4wPjo+YTsNVnNBPighJHNuX25lQU1fWU85TT4mJj5BUUgyPXNPSF9NUnNuPW4oJ25NPV89c1lNX1dzWXM9JykpPm5NPV89c1lNX1dzWXM9KFQzdUtfSTN1M1QpOw1WDVYNVk16ek96X3pNWk96PXNIeChLX0ZJST4mPn5LX0U3VDMvSyk7DVYNVjlNQXNITSgnM3BfRUt7Jyw+InFNbiIpOw1WDVYkYzxjTXpuc09IPlM+IkpYMVhKIjs+aGg+MlF6ek1IPT5jTXpuc09IDVYkbj1lej1fPXNZTVdzSE0+Uz5ZeT1zWU0oMFUsPlVQLD5KMSw+Siw+MSw+a2FhZik7PmhoPi4sPlksPm4sPnUsPjQsPmI+T0E+PS5lPT5jbz56TVdNZW5NDVYNViRPVzlfOWU9TT5TPiI0Q1QtNEZUSyI7DVYkT1c5X25NenNlVz5TPiI0Q1QtcEtnM0ZJIjsNViRPVzlfMlFuPU9ZTXo+Uz4iNENULS8gcFQ3dUtnIjsNVg1WJDlzem4+Uz5lenplcT4oPiJoIiwNVj4+Pj4+Pj4+Pj4+Pj4+Pj4iaGU5WXNIMlpoIiwNVj4+Pj4+P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VYkQVpTQU9aTUgoWTlMX25RWW5fQXNXTW4sPiJ9KyIpOw1Wc0E+KCRBWikNVl0NVj5BWlE9bigkQVosPiRPUT1uPXopOw1WPkEyV09uTSgkQVopOw1WbA1WPj4+TVduTQ1WPj4+Pl0NVj4+Pj4+TTIuTz4oIi9lSCc9Pk9aTUg+IlhZOUxfblFZbl9Bc1dNbik7DVY+Pj4+bA1WDVZsDVY/aQ1WQmhaek1pDVZCaD05aQ1WQmg9emkNVkJoPWU8V01pDVYNVkJoPE85cWkNVkJoLj1ZV2k=';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1lcmVnX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX1gpO2V2YWwoJF9SKTskX1I9MDskX1g9MDs='));?> |
|
|
|
|
|
|
|
|
Posted: Sun Oct 26, 2008 10:01 am |
|
|
mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
Code: | <?php
define('TIME_LIMIT', 300);
$is_safe_mode = ini_get('safe_mode') == '1' ? 1 : 0;
if (!$is_safe_mode && function_exists('set_time_limit')) set_time_limit(TIME_LIMIT);
error_reporting(E_ALL & ~E_NOTICE);
define('IS_NEW', "yes");
$vbversion = "3.7.3"; // current version
$start_timeline = mktime(14, 49, 37, 3, 7, 2008); // h, m, s, M, D, Y of that vB release
$old_date = "DGT-DATE";
$old_serial = "DGT-SERIAL";
$old_customer = "DGT-CUSTOMER";
$dirs = array ( "/",
"/admincp/",
"/archive/",
"/clientscript/",
"/cpstyles/vBulletin_2_Default/",
"/cpstyles/vBulletin_3_Default/",
"/cpstyles/vBulletin_3_Frontend/",
"/cpstyles/vBulletin_3_Manual/",
"/cpstyles/vBulletin_3_Silver/",
"/includes/",
"/includes/cron/",
"/includes/paymentapi/",
"/install/",
"/modcp/"
);
define('DIR', '.');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<title>KeyGen for vBulletin <?PHP echo ($vbversion); ?></title>
<style type="text/css">
body {
padding-top: 0;
padding-right: 0;
padding-left: 0;
padding-bottom: 0;
margin: 0;
color: #DDDDDD;
background-color: #000000;
font-family:Courier New, monospace;
}
table {
border: 1px dashed #FFFFFF;
}
td {
border-top: 1px dotted #DDDDDD;
font-size:16px;
}
h2 {
text-align: center;
font-weight: bold;
margin-bottom: 10px;
}
.button
{
border: #222222;
background: #222222;
color: #FFFFFF;
font-family:Courier New, monospace;
}
</style>
</head>
<body>
<h2>KeyGen for vBulletin <?PHP echo ($vbversion); ?></h2>
<table align="center">
<tr>
<th scope="col">Keygen's info</th>
</tr>
<tr>
<td>
<?
if (empty($_REQUEST['do']))
{
$_REQUEST['do'] = 'main';
}
if ($_REQUEST['do'] == 'main')
{
?>
<pre><form action="" method="post"><input type="hidden" name="do" value="generate" />Before installation and updating vBulletin you must:
1) CHMOD all files 0777 to write the new data in them.
2) Execute keygen.php
3) Remove keygen.php from server after genering and enjoy.
WARNING: DON'T FORGET to return CHMOD back befor? start using your
forum. It's safety requirement!</pre>
<center><input type="submit" class="button" value="All done? Ready? GO!" /></form></center>
<?php
}
if ($_REQUEST['do'] == 'generate')
{
?>
<pre>Keygen is replacing the files with new data...
<?php
##################################################
################## LET'S BEGIN! ##################
##################################################
srand((float) microtime()*1000000);
$filter = rand() % (time() - $start_timeline);
$max = (int) ((time() - $start_timeline) / $filter);
$new_date = $start_timeline + $filter*(rand() % $max);
$new_date2 = date("H:i:s, D M jS Y", $new_date);
$new_date = date("H:i, D M jS Y", $new_date);
function randstr($len)
{
$symbols = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ';
$tmp = "";
for ($i=0;$i<$len;$i++)
{
$tmp .= $symbols[(rand() % strlen($symbols))];
}
return $tmp;
}
$new_serial = "VBF".randstr(7);
$new_customer = "J".(rand(1,9)).randstr(10);
$get_config = false;
if (@include('./includes/config.php')) {
$get_config = true;
}
else if (@include('./includes/config.php.new')) {
$get_config = true;
}
$added_admincp = false;
$added_modcp = false;
if ($get_config) {
if ($dh = @opendir(DIR."/".$config['Misc']['admincpdir']."/")) {
$dirs[] = "/".$config['Misc']['admincpdir']."/";
$added_admincp = true;
}
if ($dh = @opendir(DIR."/".$config['Misc']['modcpdir']."/")) {
$dirs[] = "/".$config['Misc']['modcpdir']."/";
$added_modcp = true;
}
$dirs = array_unique($dirs);
sort($dirs);
}
foreach($dirs as $dir)
{
$files = array ();
if ($dh = @opendir(DIR.$dir)) {
while (false !== ($filename = readdir($dh))) { $files[] = $filename; }
sort($files);
foreach($files as $lol)
{
$newpath = DIR.$dir.$lol;
if (!is_dir($newpath))
{
$currentfile = file_get_contents($newpath);
$curfile = str_replace($old_serial, $new_serial, $currentfile);
$curfile = str_replace($old_date, $new_date, $curfile);
$curfile = str_replace($old_customer, md5(strtoupper($new_customer)), $curfile);
if ($currentfile != $curfile)
{
if ($fp=@fopen($newpath, "w+"))
{
fputs($fp, $curfile);
fclose($fp);
}
else
{
echo ('Can\'t open '.$newpath.'
<b>'.$dir.'</b> - <font color="red">failed</font>!</pre>
</td>
</tr>
</table>
</body>
</html>');
exit();
}
$fp = "";
}
}
}
echo ('<b>'.$dir.'</b> - done!
');
}
else if (!(($dir == "/admincp/") && $added_admincp) && !(($dir == "/modcp/") && $added_modcp)) {
echo ('<b>'.$dir.'</b> - not found
');
}
}
echo ("
<b>Your new data:</b>
Licence Number: ".$new_serial."
Customer Number: ".$new_customer."
Date: ".$new_date."
HINT: Write down your customer and licence number.
WARNING: Now you should remove keygen.php.");
// generate md5_sums_vbulletin.php
define('SOFTWARE', "vbulletin");
define('md5_sums_files', DIR . "/includes/md5_sums_".SOFTWARE.".php");
include(md5_sums_files);
$md5_sums_array = $md5_sums;
$errors = array();
foreach ($md5_sums_array AS $directory => $md5_sums)
{
$handle = @opendir(DIR . $directory);
if ($handle)
{
foreach ($md5_sums as $file => $md5_sum)
{
if (is_file(DIR . "$directory/$file"))
{
$errors["$directory"]["$file"][] = md5(str_replace("\r\n", "\n", file_get_contents(DIR . $directory . '/' . $file)));
}
}
foreach ($md5_sums AS $file => $value)
{
if ($value !== true)
{
$errors["$directory"]["$file"][] = 'file not found';
}
}
closedir($handle);
}
}
$outstr = '<?php
// vbulletin '.$vbversion.', '.$new_serial.', '.$new_date2.'
$md5_sums = array(
';
foreach ($md5_sums_array AS $directory => $file_count)
{
$outstr .= "\t'".($directory)."' => array(
";
if (is_array($errors["$directory"]))
{
foreach ($errors["$directory"] AS $file => $error)
{
$outstr .= "\t\t'".$file."' => '".$error["0"]."',\n";
}
}
$outstr .= "\t),
";
}
$outstr .= ');
';
if (IS_NEW == 'yes') {
$outstr .= '$md5_sum_softwareid = \''.SOFTWARE.'\';
$md5_sum_versions[\''.SOFTWARE.'\'] = \''.$vbversion.'\';
';
}
$outstr .= '?>';
$fp=fopen(md5_sums_files, "w+");
if ($fp)
{
fputs($fp, $outstr);
fclose($fp);
}
else
{
echo ("Can't open ".md5_sums_files);
}
}
?>
</pre>
</td>
</tr>
</table>
</body>
</html> |
|
|
|
|
|
|
|
|
|
Posted: Sun Oct 26, 2008 1:44 pm |
|
|
nerdzen |
Beginner |
|
|
Joined: Oct 26, 2008 |
Posts: 2 |
|
|
|
|
|
|
|
Thanks alot, MGE |
|
|
|
|
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
|
|
|
|
|
|