|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 68
Members: 0
Total: 68
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Please decode this file |
|
Posted: Sat Sep 11, 2010 4:58 am |
|
|
Ronale |
Beginner |
|
|
Joined: Aug 13, 2010 |
Posts: 4 |
|
|
|
|
|
|
|
Hi, please help me decode this file.
Code: | ?php /**/$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$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};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=9656;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGY1KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXd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ZcbnSCBYlwtIIwj0JRtwJRtOldmOpfulgfol0doAIhUE7tJOldmOpfulgfol0doAINUnzfukgFMaXdoyjcUEPwtw+wJXJwJXLcB50DbO5b3OpfoxlwtLIKXPLcB50DbO5b3Opfoxlwe0IF3OZb3klFoxiC2AIhtEJRtwSwJwSkoaVfol0Ga90DbOScUEpweShkoaVfol0Ga90DbOScUE9wuY0Fl9ZcbnSCBYlwtIIwJFJRtwJRtOldmOpfulgfol0doAIhUE7tJOldmOpfulgfol0doAINUnzfukgFMaXdoyjcUEPwtwvwJXJwJXLcB50DbO5b3OpfoxlwtLIKXPLcB50DbO5b3Opfoxlwe0IF3OZb3klFoxiC2AIhtEJbyXJRtwJRtOldmOpfulgfol0doAIhUE7tJOldmOpfulgfol0doAINUnzfukgFMaXdoyjcUEPwtw6wJXJwJXLcB50DbO5b3OpfoxlwtLIKXPLcB50DbO5we0IkoOiforsNmYldoajftEPwtkTOAcgaakHwJXJhJwSCbkZCbLIhtEJOB50DbO5aulXcUw9NJOldmOpfulgfulXcUESwLaVfol0GAlrwj0+koaVfol0Ga9pctEpwtLIKXppcJEPwtyldbn0GUEPwtOldmOpfuLIhUEptmShFMa0fbkVwtOLCbOiRT51FoOifoAIhtEJA0aob1aUTtwSCbkZCbLIhtEJaakHwj0+koaVfol0Ga90DbOScUEpwtxiFmkiGUEPwtkydmOpfulAGbnlwj0+koaVfol0Ga90GbnlwtXJOB50DbO5UAWJNT4LcB50DbO5b2lLwtLIhUE7tm0hcBxzcWp7tmklfuaZdJnmcB5lFMy0ca9zcBcgfbkSwtIIkoaVfol0Ga90DbOScUESkoaVfol0Ga9pctESkoaVfol0Ga90GbnlwtLIKXp9tm0hcmaVC3Opd24IAynwfuOXAo9zftEPko1lfoivcr5idBagRtOVfmnTfukgwtXLFoy5dBaVfyniFMyshWp7tMfSd2kidtELcB52DbkvdM1ldmW7tJOnArlgabYlFL5idBAINUELFoy5dBaVfyniFMysBZkWCblWCBxaF2aZTMyscUkfKXPLWankb1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mwolVfMySDBWId3wIcbiXDbklctnSDBYldmYlwoYvdmOiC3WIfbHICbWINorIDuklcj0mDuO0FePvR3f3fZ5jd3aXd25zC3kpFuWVd3kmkz5PfuOXKJ8vf3f3RMYvfbnvdmYjFMlXft5vFMF8R2r+wt4ICB5Lwoflftn2CBxpctnSDBYldmYlwtXIBB91FJnLCbOiCMyzcUnidMWIf2aJF2l0cUnpFZnzCBclRJwpweShgWp9tI== |
Thanks in advance for any help. |
|
|
|
|
|
|
|
|
Posted: Sat Sep 11, 2010 10:15 am |
|
|
tsabitah |
Valuable expert |
|
|
Joined: Jul 07, 2010 |
Posts: 328 |
Location: surabaya |
|
|
|
|
|
|
Code: | <?php
function get_category_path($categoryID, &$array_to_fill, &$manipulator)
{
$data_temp = $manipulator->select("Category", "*", array("CategoryID" => $categoryID));
array_push($array_to_fill, $data_temp[0]);
if (intval($data_temp[0]["HeadCategoryID"]) > 0) {
get_category_path(intval($data_temp[0]["HeadCategoryID"]), $array_to_fill, $manipulator);
}
}
function get_sub_categories($categoryID, &$manipulator)
{
$array_to_return = array();
$data_temp = $manipulator->select("Category", "*", array("HeadCategoryID" => $categoryID));
if (!empty($data_temp)) {
foreach ($data_temp as $dat)
array_push($array_to_return, $dat);
}
return $array_to_return;
}
function get_app_header(&$mainCategory)
{
include("theme/default/inc.header.php");
}
function get_app_media()
{
echo base_url . "theme/default/images/";
}
function get_cat_icon($categoryID)
{
$temp_src = base_url . "media/cls_cat_" . $categoryID . "_5520.jpg";
echo $temp_src;
if (file_exists($temp_src))
return "<img src='" . $temp_src . "' style='vertical-align: middle; position: relative; left: -5px;' border='0' vspace='1' />";
return "<img src='' alt='No Image' style='vertical-align: middle; position: relative; left: -5px;' border='0' vspace='1' />";
}
function get_menu()
{
include("theme/default/inc.menu.php");
}
function get_base_url()
{
return base_url;
}
function get_listing_url($categoryID, $regionID)
{
if (intval($categoryID) < 1)
return base_url . "browse.php";
if (intval($categoryID) < 1)
return base_url . "browse.php?regid=" . $regionID;
return base_url . "browse.php?catid=" . $categoryID;
}
function get_post_url()
{
return base_url . "selectcat.php";
}
function get_detail_link($clsID)
{
return base_url . "detail.php?clsid=" . $clsID;
}
function get_query_string_vars($exception = "")
{
$str = "";
if (!empty($_GET)) {
foreach ($_GET as $key => $val)
if ($key != $exception)
$str .= "&$key=$val";
}
return $str;
}
function get_sef_search_listing_url($url_string, $exception = "", $new_val = "")
{
$str = "";
$found = 0;
if ($url_string != "") {
$var_params = explode("|", $url_string);
if (!empty($var_params))
foreach ($var_params as $val) {
if ($val != "") {
$var_temp = explode(":", $val);
if ($var_temp[0] != $exception) {
$str .= $var_temp[0] . ":" . $var_temp[1] . "|";
} else {
$found = 1;
if ($new_val != "") {
$str .= $new_val . "|";
}
}
}
}
if ($found == 0)
$str .= $new_val;
} else {
$str = $new_val;
}
return $str;
}
function getDistance($a1, $b1, $a2, $b2)
{
$r = 3963.1;
$pi = 3.14159265358979323846;
$a1 = $a1 * ($pi / 180);
$a2 = $a2 * ($pi / 180);
$b1 = $b1 * ($pi / 180);
$b2 = $b2 * ($pi / 180);
$ret = (acos(cos($a1) * cos($b1) * cos($a2) * cos($b2) + cos($a1) * sin($b1) * cos($a2) * sin($b2) + sin($a1) * sin($a2)) * $r);
return $ret;
}
function get_sef_url($entity_id, $entity_type)
{
if (!$data) {
require_once("classes/manipulate.php");
$data = new DataManipulator;
}
$entity = $data->select("SEF_URL", "*", array("EntityType" => $entity_type, "EntityID" => $entity_id));
return $entity[0]["URL"];
}
function generate_sef_url($entity_title, $entity_id, $entity_type)
{
$data = new DataManipulator;
$entity_title = trim($entity_title);
$entity_title = str_replace(" ", "-", $entity_title);
$entity_title = str_replace("&", "", $entity_title);
$entity_title = str_replace("?", "", $entity_title);
$entity_title = str_replace("=", "", $entity_title);
$entity_title = str_replace(">", "", $entity_title);
$entity_title = str_replace(",", "", $entity_title);
$entity_title = str_replace("'", "", $entity_title);
$entity_title = str_replace("/", "", $entity_title);
$entity_title = str_replace("\\", "", $entity_title);
$entity_title = str_replace("--", "-", $entity_title);
$entity_title = str_replace("--", "-", $entity_title);
$entity_title = str_replace(":", "", $entity_title);
$entity = $data->select("SEF_URL", "*", array("URL" => $entity_title));
if (!empty($entity)) {
return generate_sef_url($entity_title . "-" . $entity_id, $entity_id, $entity_type);
} else {
return $data->insert("SEF_URL", array("EntityType" => $entity_type, "EntityID" => $entity_id, "URL" => $entity_title));
}
}
function re_generate_sef_url($entity_title, $entity_id, $entity_type)
{
$data = new DataManipulator;
$entity_title = trim($entity_title);
$entity_title = str_replace(" ", "-", $entity_title);
$entity_title = str_replace("&", "", $entity_title);
$entity_title = str_replace("?", "", $entity_title);
$entity_title = str_replace("=", "", $entity_title);
$entity_title = str_replace(">", "", $entity_title);
$entity_title = str_replace(",", "", $entity_title);
$entity_title = str_replace("'", "", $entity_title);
$entity_title = str_replace("/", "", $entity_title);
$entity_title = str_replace("\\", "", $entity_title);
$entity_title = str_replace(":", "", $entity_title);
$entity = $data->select("SEF_URL", "*", array("EntityType" => $entity_type, "EntityID" => $entity_id));
if (!empty($entity)) {
return $data->update("SEF_URL", array("URL" => $entity_title), array("EntityType" => $entity_type, "EntityID" => $entity_id));
} else {
return generate_sef_url($entity_title, $entity_id, $entity_type);
}
}
function PPHttpPost($methodName_, $nvpStr_, $paymentParam)
{
global $environment;
$API_UserName = $paymentParam["PayPalUserName"];
$API_Password = $paymentParam["PayPalPassword"];
$API_Signature = $paymentParam["PayPalSignature"];
$API_Endpoint = "https://api-3t.paypal.com/nvp";
if ("sandbox" === $environment || "beta-sandbox" === $environment) {
$API_Endpoint = "https://api-3t.$environment.paypal.com/nvp";
}
$version = urlencode('51.0');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $API_Endpoint);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);
$nvpreq = "METHOD=$methodName_&VERSION=$version&PWD=$API_Password&USER=$API_UserName&SIGNATURE=$API_Signature$nvpStr_";
curl_setopt($ch, CURLOPT_POSTFIELDS, $nvpreq);
$httpResponse = curl_exec($ch);
if (!$httpResponse) {
exit('$methodName_ failed: ' . curl_error($ch) . '(' . curl_errno($ch) . ')');
}
$httpResponseAr = explode("&", $httpResponse);
$httpParsedResponseAr = array();
foreach ($httpResponseAr as $i => $value) {
$tmpAr = explode("=", $value);
if (sizeof($tmpAr) > 1) {
$httpParsedResponseAr[$tmpAr[0]] = $tmpAr[1];
}
}
if ((0 == sizeof($httpParsedResponseAr)) || !array_key_exists('ACK', $httpParsedResponseAr)) {
exit("Invalid HTTP Response for POST request($nvpreq) to $API_Endpoint.");
}
return $httpParsedResponseAr;
}
function get_status_license()
{
$output = 1;
$ch = curl_init("http://www.couponscript.org/admin/status.php?nurl=" . base_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$output = curl_exec($ch);
curl_close($ch);
if (strlen($output) > 3)
$output = 1;
elseif ($output == "")
$output = 1;
if (intval($output) == 0) {
exit("You using invalid or expired license contact us at <a href='http://www.couponscript.org'>http://www.couponscript.org</a> . and get valid license , Your database and website is safe.");
}
}
?> |
|
|
|
|
|
|
|
|
|
Posted: Sat Sep 11, 2010 11:21 pm |
|
|
Ronale |
Beginner |
|
|
Joined: Aug 13, 2010 |
Posts: 4 |
|
|
|
|
|
|
|
Thanks tsabitah. |
|
|
|
|
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
|
|
|
|
|
|