Waraxe IT Security Portal
Login or Register
November 5, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 122
Members: 0
Total: 122
Full disclosure
4 vulnerabilities in ibmsecurity
32 vulnerabilities in IBM Security Verify Access
xlibre Xnest security advisory & bugfix releases
APPLE-SA-10-29-2024-1 Safari 18.1
SEC Consult SA-20241030-0 :: Query Filter Injection in Ping Identity PingIDM (formerly known as ForgeRock Identity Management) (CVE-2024-23600)
SEC Consult SA-20241023-0 :: Authenticated Remote Code Execution in Multiple Xerox printers (CVE-2024-6333)
APPLE-SA-10-28-2024-8 visionOS 2.1
APPLE-SA-10-28-2024-7 tvOS 18.1
APPLE-SA-10-28-2024-6 watchOS 11.1
APPLE-SA-10-28-2024-5 macOS Ventura 13.7.1
APPLE-SA-10-28-2024-4 macOS Sonoma 14.7.1
APPLE-SA-10-28-2024-3 macOS Sequoia 15.1
APPLE-SA-10-28-2024-2 iOS 17.7.1 and iPadOS 17.7.1
APPLE-SA-10-28-2024-1 iOS 18.1 and iPadOS 18.1
Open Redirect / Reflected XSS - booked-schedulerv2.8.5
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Please DECODE This File
Post new topicReply to topic View previous topic :: View next topic
Please DECODE This File
PostPosted: Sun Feb 08, 2009 9:50 pm Reply with quote
mj_012
Beginner
Beginner
Joined: Feb 08, 2009
Posts: 2




hi,
please someone DECODE this for me, i really appreciate.

Code:
<?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
$o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GxsbGxsbGxsbCgkbFskbGxsbGwrK10pKzE2O2ZvcigkbGxsbD0wOyRsbGxsPCRsbDskbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxsXSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbGxsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>


Last edited by mj_012 on Sun Feb 08, 2009 11:04 pm; edited 1 time in total
View user's profile Send private message
PostPosted: Sun Feb 08, 2009 10:40 pm Reply with quote
NYDAz
Advanced user
Advanced user
Joined: Jan 26, 2009
Posts: 109
Location: Valley of the Kings




encode it or decode it ?

_________________
A person who never made a mistake never tried anything new.
View user's profile Send private message
OOpps
PostPosted: Sun Feb 08, 2009 11:03 pm Reply with quote
mj_012
Beginner
Beginner
Joined: Feb 08, 2009
Posts: 2




sorry, yeah I meant DECODE!!!!
View user's profile Send private message
PostPosted: Sat Feb 14, 2009 2:13 pm Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




Code:

<?
//$smarty->caching = true;

$servers = array();
$servers[] = 'http://www.sidereelclone.com/order/'; // main server


# You can ignore everything below this line if you want to --------------------------

$query_string="license=".$license;
$query_string.="&product_id=3";

$per_server=false;
$per_install=true;
$per_site=false;

$enable_dns_spoof='yes';

# functions -------------------------------------------------------------------------

// added v2.0.10
function make_token() { return md5('88e52e0c292afac237a36ad630844a11'.time()); }
// END added v2.0.10

function get_key()
{
$data=@file("key.php");

if (!$data) { return false; }

$buffer=false;
foreach ($data as $line) { $buffer.=$line; }
if (!$buffer) { return false; }

$buffer=@str_replace("<?PHP", "", $buffer);
$buffer=@str_replace("?>", "", $buffer);
$buffer=@str_replace("/*--", "", $buffer);
$buffer=@str_replace("--*/", "", $buffer);

return @str_replace("\n", "", $buffer);
}

function parse_local_key()
{
if (!@file_exists("key.php")) { return false; }

$raw_data=@base64_decode(get_key());
$raw_array=@explode("|", $raw_data);
if (@is_array($raw_array)&&@count($raw_array)<8) { return false; }

return $raw_array;
}

function validate_local_key($array)
{
$raw_array=parse_local_key();

if (!@is_array($raw_array)||$raw_array===false)
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' />";
}

if ($raw_array[11]&&@strcmp(@md5("88e52e0c292afac237a36ad630844a11".$raw_array[11]), $raw_array[12])!=0)
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' />";
}

if ($raw_array[9]&&@strcmp(@md5("88e52e0c292afac237a36ad630844a11".$raw_array[9]), $raw_array[10])!=0)
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' />";
}

if (@strcmp(@md5("88e52e0c292afac237a36ad630844a11".$raw_array[1]), $raw_array[2])!=0)
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}

if ($raw_array[1]<time()&&$raw_array[1]!="never")
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}

if ($array['per_server'])
{
$server=phpaudit_get_mac_address();
$mac_array=@explode(",", $raw_array[6]);
if (!@in_array(@md5("88e52e0c292afac237a36ad630844a11".$server[0]), $mac_array))
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}

$host_array=@explode(",", $raw_array[4]);
if (!@in_array(@md5("88e52e0c292afac237a36ad630844a11".@gethostbyaddr(@gethostbyname($server[1]))), $host_array))
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}
}
else if ($array['per_install']||$array['per_site'])
{
if ($array['per_install'])
{
$directory_array=@explode(",", $raw_array[3]);
$valid_dir=path_translated();
$valid_dir=@md5("88e52e0c292afac237a36ad630844a11".$valid_dir);
if (!@in_array($valid_dir, $directory_array))
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}
}

$host_array=@explode(",", $raw_array[4]);
if (!@in_array(@md5("88e52e0c292afac237a36ad630844a11".$_SERVER['HTTP_HOST']), $host_array))
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}

$ip_array=@explode(",", $raw_array[5]);
if (!@in_array(@md5("88e52e0c292afac237a36ad630844a11".server_addr()), $ip_array))
{
return "<verify status='invalid_key' message='Please contact support for a new license key.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}
}

return "<verify status='active' message='The license key is valid.' ".$raw_array[9]." addon_array='{$raw_array[11]}' />";
}

function phpaudit_exec_socket($http_host, $http_dir, $http_file, $querystring)
{
$fp=@fsockopen($http_host, 80, $errno, $errstr, 10); // was 5
if (!$fp) { return false; }
else
{
$header="POST ".($http_dir.$http_file)." HTTP/1.0\r\n";
$header.="Host: ".$http_host."\r\n";
$header.="Content-type: application/x-www-form-urlencoded\r\n";
$header.="User-Agent: PHPAudit v2 (http://www.phpaudit.com)\r\n";
$header.="Content-length: ".@strlen($querystring)."\r\n";
$header.="Connection: close\r\n\r\n";
$header.=$querystring;

$data=false;
if (@function_exists('stream_set_timeout')) { stream_set_timeout($fp, 20); }
@fputs($fp, $header);

if (@function_exists('socket_get_status')) { $status=@socket_get_status($fp); }
else { $status=true; }

while (!@feof($fp)&&$status)
{
$data.=@fgets($fp, 1024);

if (@function_exists('socket_get_status')) { $status=@socket_get_status($fp); }
else
{
if (@feof($fp)==true) { $status=false; }
else { $status=true; }
}
}

@fclose ($fp);

# echo "<textarea rows='100' cols='100'>".$data."</textarea>"; die;

if (!strpos($data, '200')) { return false; }

if (!$data) { return false; }

$data=@explode("\r\n\r\n", $data, 2);

if (!$data[1]) { return false; }
if (@strpos($data[1], "verify")===false) { return false; }

return $data[1];
}
}

# DOES NOT WORK FOR WINDOWS!!!!!!!
# No good way to get the mac address for win.
function phpaudit_get_mac_address()
{
$fp=@popen("/sbin/ifconfig", "r");

if (!$fp) { return -1; } # returns invalid, cannot open ifconfig

$res=@fread($fp, 4096);
@pclose($fp);

$array=@explode("HWaddr", $res);
if (@count($array)<2) { $array=@explode("ether", $res); } # FreeBSD
$array=@explode("\n", $array[1]);
$buffer[]=@trim($array[0]);

$array=@explode("inet addr:", $res);
if (@count($array)<2) { $array=@explode("inet ", $res); } # FreeBSD
$array=@explode(" ", $array[1]);
$buffer[]=@trim($array[0]);

return $buffer;
}

function path_translated()
{
if (isset($_SERVER['PATH_TRANSLATED']) && strlen($_SERVER['PATH_TRANSLATED']) > 0 && @realpath($_SERVER['PATH_TRANSLATED']))
{
$path = (substr( php_uname( ), 0, 7 ) == "Windows")? str_replace('\\\\', '/', $_SERVER['PATH_TRANSLATED']): $_SERVER['PATH_TRANSLATED'];
$path= @substr($path, 0, @strrpos($path, "/"));
}

if ($_SERVER['SCRIPT_FILENAME'])
{
return @substr($_SERVER['SCRIPT_FILENAME'], 0, @strrpos($_SERVER['SCRIPT_FILENAME'], "/"));
}

return @substr($_SERVER['ORIG_PATH_TRANSLATED'], 0, @strrpos($_SERVER['ORIG_PATH_TRANSLATED'], "\\"));
}

function server_addr()
{
return ($_SERVER['SERVER_ADDR'])?$_SERVER['SERVER_ADDR']:$_SERVER['LOCAL_ADDR'];
}

# END functions ---------------------------------------------------------------------

if ($per_server)
{
$server_array=phpaudit_get_mac_address();
$query_string.="&access_host=".@gethostbyaddr(@gethostbyname($server_array[1]));
$query_string.="&access_mac=".$server_array[0];
}
else if ($per_install)
{
$query_string.="&access_directory=".path_translated();
$query_string.="&access_ip=".server_addr();
$query_string.="&access_host=".$_SERVER['HTTP_HOST'];
}
else if ($per_site)
{
$query_string.="&access_ip=".server_addr();
$query_string.="&access_host=".$_SERVER['HTTP_HOST'];
}

// added v2.0.10
$query_string.='&access_token=';
$query_string.=$token=make_token();
// END added v2.0.10

foreach($servers as $server)
{
$sinfo=@parse_url($server);

$data=phpaudit_exec_socket($sinfo['host'], $sinfo['path'], '/validate_internal.php', $query_string);
if ($data) { break; }
}

// $data=false; // Uncomment this to test the local keys
$skip_dns_spoof=false;
if (!$data)
{
$array['per_server']=$per_server;
$array['per_install']=$per_install;
$array['per_site']=$per_site;
$data=validate_local_key($array);
$skip_dns_spoof=true;
}

$parser=@xml_parser_create('');
@xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0);
@xml_parser_set_option($parser, XML_OPTION_SKIP_WHITE, 1);
@xml_parse_into_struct($parser, $data, $values, $tags);
@xml_parser_free($parser);

$returned=$values[0]['attributes'];
$returned['addon_array']=@str_replace(" ", '+', @unserialize(@base64_decode($returned['addon_array'])));

if (empty($returned)) { $returned['status']="invalid"; }
if ($returned['status']!="active") { $sinfo=@parse_url($servers[0]); }

if ($returned['status']=="invalid")
{
header("Location: http://".$sinfo['host'].$sinfo['path']."license_invalid.php");
exit;
}

if ($returned['status']=="suspended")
{
header("Location: http://".$sinfo['host'].$sinfo['path']."license_suspended.php");
exit;
}

if ($returned['status']=="expired")
{
header("Location: http://".$sinfo['host'].$sinfo['path']."license_expired.php");
exit;
}

if ($returned['status']=="pending")
{
header("Location: http://".$sinfo['host'].$sinfo['path']."license_pending.php");
exit;
}

if ($returned['status']=="invalid_key")
{
?>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
alert('Your local license key is missing or invalid. We will now try to redirect you to create a new key. If this operation fails or you feel it is in error please contact our support department.');

window.location="<?PHP

echo "http://";
echo $sinfo['host'];
echo $sinfo['path'];
echo "license_key_invalid.php?access=".urlencode(base64_encode($query_string));

?>";

// End -->
</script>

<?PHP
exit;
}

// added v2.0.10
if ($returned['status']=='active'
&&strcmp(md5('88e52e0c292afac237a36ad630844a11'.$token), $returned['access_token'])!=0
&&$enable_dns_spoof=='yes'
&&!$skip_dns_spoof)
{
header("Location: http://".$sinfo['host'].$sinfo['path']."license_invalid.php");
exit;
}
// END added v2.0.10

unset($query_string);
unset($per_server);
unset($per_install);
unset($per_site);
unset($server);
unset($data);
unset($parser);
unset($values);
unset($tags);
unset($sinfo);
unset($token); // added v2.0.10


$uresult = mysql_query("SELECT * FROM users WHERE username = '$session->username'");
$ur = mysql_fetch_array($uresult);
$priv = $ur["admin"];

$lockedhour = $locked_time/3600;


$smarty->assign('lockedhour', $lockedhour);

$smarty->assign('priv', $priv);

$smarty->assign('session_loggedin', $session->logged_in);

$smarty->assign('form_user', $form->value("user"));

$smarty->assign('form_pass', $form->value("pass"));

$smarty->assign('form_remember', $form->value("remember"));

$smarty->assign('form_access', $form->error("access"));

$smarty->assign('form_attempt', $form->error("attempt"));

$smarty->assign('form_errors', $form->num_errors);

$smarty->assign('loggedin', $session->logged_in);

$smarty->assign('session_username', $session->username);

?>
View user's profile Send private message Visit poster's website
Please DECODE This File
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

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.046 Seconds