Waraxe IT Security Portal
Login or Register
November 22, 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: 61
Members: 0
Total: 61
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Please help me in decoding this Goto page 1, 2Next
Post new topicReply to topic View previous topic :: View next topic
Please help me in decoding this
PostPosted: Sat Oct 25, 2008 8:19 am Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




<?php $_F=__FILE__;$_X='Pz4JCQ0KCQk8ZDR2IGNsMXNzPSJjbDUxciI+PC9kNHY+DQoJDQoJPC9kNHY+DQoJPCEtLSAvTTE0biAtLT4NCgkNCgk8IS0tIEYyMnQ1ciAtLT4NCgk8ZDR2IDRkPSJmMjJ0NXIiPg0KCQlDMnB5cjRnaHRzIGEwMDggLSBBbGwgUjRnaHRzIHI1czVydjVkITxiciAvPg0KCQk8MSBocjVmPSJodHRwOi8vd3BqM25jdDQybi5jMm0vIj5XNWIgRDVzNGduPC8xPiBieSA8MSBocjVmPSJodHRwOi8vd3d3LmY0cjVjMXM0bjJzLmMybSI+T25sNG41IEMxczRuMnM8LzE+IGYyciA8MSBocjVmPSJodHRwOi8vd3d3LmMybWY0LmMybSI+cGgybjUgYzFyZHM8LzE+LCA8MSBocjVmPSJodHRwOi8vd3d3LnM0dDV0cjJwaHkuYzJtIj5UcjJwaDQ1czwvMT4gMW5kIDwxIGhyNWY9Imh0dHA6Ly93d3cucDFyZjNteS5jMm0iPkZyMWdyMW5jNSBQNXJmM201PC8xPjxiciAvPg0KCQlWMWw0ZCBYSFRNTCAxbmQgQ1NTDQoJPC9kNHY+DQoJPCEtLSBGMjJ0NXIgLS0+DQoNCjwvZDR2PjwvZDR2PjwvZDR2Pg0KPCEtLSAvUDFnNSAtLT4NCg0KPD9waHAgd3BfZjIydDVyKCk7ID8+DQoNCjwvYjJkeT4NCg0KPC9odG1sPg==';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>

Thanks a lot,
AbdulBasit
View user's profile Send private message
PostPosted: Sat Oct 25, 2008 8:32 am Reply with quote
mge
Valuable expert
Valuable expert
Joined: Jul 16, 2008
Posts: 142




Code:

<div class="clear"></div>

</div>
<!-- /Main -->

<!-- Footer -->
<div id="footer">
Copyrights 2008 - All Rights reserved!<br />
<a href="http://wpjunction.com/">Web Design</a> by <a href="http://www.firecasinos.com">Online Casinos</a> for <a href="http://www.comfi.com">phone cards</a>, <a href="http://www.sitetrophy.com">Trophies</a> and <a href="http://www.parfumy.com">Fragrance Perfume</a><br />

Valid XHTML and CSS
</div>
<!-- Footer -->

</div></div></div>
<!-- /Page -->

<?php wp_footer(); ?>

</body>

</html>


Smile
View user's profile Send private message
PostPosted: Sat Oct 25, 2008 2:44 pm Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




Thank you soooo much. This really worked.
View user's profile Send private message
PostPosted: Fri Oct 31, 2008 7:41 am Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




I got couple of more encoded theme codes. Can you please provide me the software or something through which I can decode it myself.

Thank you Smile
View user's profile Send private message
PostPosted: Fri Oct 31, 2008 5:09 pm Reply with quote
mge
Valuable expert
Valuable expert
Joined: Jul 16, 2008
Posts: 142




i sent you a pm Smile
View user's profile Send private message
PostPosted: Fri Oct 31, 2008 8:45 pm Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




PM received and it works perfectly alright Smile

Thanks a bunch Smile
View user's profile Send private message
PostPosted: Wed Feb 25, 2009 7:46 pm Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




Hello brother,

You have helped me in past by decoding 1 code and gave me site as well.

Today I wanted to decode 1 more code but failed to do so... Below is the code and I am sure you can help me once again Smile Smile

Code:
<? eval(gzinflate(base64_decode('LZpHC8NYskb/yuymGy0UrMiERrJyzmkzKOec9eufG97SYETp3qpT5zP+67///usfxZn0f1RvM5Z9shd/pMlW4Oj/8iKb8uKPf/LxKLKrmfBeXMqpmTW0ELW12jc7SgysIuMq/BlbAjBTuXvytCZMmErIHgTBDCxBoDVkE1iBeb9X2aQO5Ux9ENwhgmDAbnXT6GuDQMh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S9XU/7wekwhMEbur//1J+Zf/5559//vmvf/z133//9X8='))); ?>


Thank you
AbdulBasit
View user's profile Send private message
PostPosted: Wed Feb 25, 2009 8:59 pm Reply with quote
one23
Advanced user
Advanced user
Joined: Dec 12, 2008
Posts: 98




Code:

<div class="clear"></div>

</div>
<!-- /Main -->

<!-- Footer -->
<div id="footer">

<!-- Footerbar -->
<div id="footerbar">
<div id="footerbar-left">
<h3>Recent Articles</h3>
<ul class="footerbar-left-in">
<?php wp_get_archives('type=postbypost&limit=4'); ?>
</ul>
</div>
<div id="footerbar-center">
<h3>Recent Comments</h3>
<ul class="footerbar-center-in">
<?php
$sql = "SELECT * FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' ORDER BY comment_date DESC LIMIT 0 , 4";
$comments = $wpdb->get_results($sql);
foreach ($comments as $comment) {
$data = $comment->comment_author . " @ " . $comment->post_title;
echo "<li><a href=\"" . get_permalink($comment->comment_post_ID) . "\">" . substr($data,0,40) . " ...</a></li>";
}
?> </ul>
</div>
<div id="footerbar-right">
<h3>Theme Credits</h3>
<ul class="footerbar-right-in">
Designed by: <a href="http://www.online.whymangosteen.com/">Mangosteen Juice</a>
<br />
<br /><a href="http://www.indigoreeddiffusers.com">Reed Diffusers</a>
<br /><a href="http://www.turtlehost.be/goedkope-domeinnamen.php">Domeinnaam Registreren</a>
<br /><a href="http://www.grafisch-bureau.be">Grafisch Bureau</a>
</ul>
</div>
</div>
<!-- /Footerbar -->

<!-- Copyright -->
<div id="copyright">
<font color="white">(c)Copyrighted <a href="<?php echo get_option('home'); ?>/"><font color="white"><?php bloginfo('name'); ?></font></a> Theme, All Rights Reserved.</font>
</div>
<!-- /Copyright -->

</div>
<!-- Footer -->

</div></div></div>
<!-- /Page -->

<?php wp_footer(); ?>

</body>

</html>


Have Fun ! ^^
View user's profile Send private message
PostPosted: Thu Feb 26, 2009 10:01 am Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




Thank you soooooo much Smile Smile Smile
View user's profile Send private message
PostPosted: Tue Sep 22, 2009 7:01 pm Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




I have script for which I wanted it decoded and need someone to please help me out.

<?php
$mod_rewrite = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='seofriendly'");
$lpp = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='linksperpage'");
$show_description = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='description'");
$show_url = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='url'");
$officialdirectoryname = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='name'");

function eblex_fixinput($str)
{
$str = str_replace("\"", "&quot;", $str);
$str = str_replace("<", "&lt;", $str);
$str = str_replace(">", "&gt;", $str);

return $str;
}

$l_category = $_GET['cat'];

if (strtolower($_GET['cat']) == "root" && $_GET['page'] == "1") {
header("Location: ../../");
}

if ($l_category == "") {
$l_titlecategory = "Root";
}

$is_active = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='is_active'");
if ($is_active != "1") {
die("<div align=\"center\">Plugin deactivated, please reactivate to view links.</div>");
}
// -------------------------------- E-mailing procedure --------------------------------
$s_approval = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='approval'");
$s_email = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='email'");
$s_emailto = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='emailto'");
$s_showcategorydescription = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='showcategorydescription'");

function eblex_email($info)
{
global $s_approval;
global $s_email;
global $s_emailto;
global $wpdb;
global $eblex_settings;
$header = "From: Link Exchange\r\n";

if ($info["nonreciprocal"] == "1") {
$nonreciprocal = "yes";
} else {
$nonreciprocal = "no";
$rurl = "\nReciprocal URL: " . $info["reciprocalurl"];
}

if ($s_email == "1") {
if ($s_approval == "1") {
$mailsubject = "New link exchange request";
$mailcontents = "You have received a new link exchange request.\n\n\nHere are the details related to this link: \nTitle: " . $info["title"] . "\nNon - reciprocal: $nonreciprocal" . $rurl . "\nWebsite URL: " . $info["url"] . "\nCategory: " . $info["category"] . "\nDescription: " . $info["description"] . "\nContact e-mail: " . $info["email"] . "\nTime of submission: " . $info["time"] . "\n\n\n\nThis e-mail was automatically generated by Link Exchange script, do not attempt to reply";
} else {
$mailsubject = "New link exchange notification";
$mailcontents = "You have received a new link inside your directory.\n\n\nHere are the details related to this link: \nTitle: " . $info["title"] . "\nNon - reciprocal: $nonreciprocal" . $rurl . "\nWebsite URL: " . $info["url"] . "\nCategory: " . $info["category"] . "\nDescription: " . $info["description"] . "\nContact e-mail: " . $info["email"] . "\nTime of submission: " . $info["time"] . "\n\n\n\nThis e-mail was automatically generated by Link Exchange script, do not attempt to reply";
}
$s_emailfrom = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='emailfrom'");
$headers = "From: \r\n";
$headers.= "Content-Type: text/html; charset=ISO-8859-1 ";
$headers .= "MIME-Version: 1.0 ";

@wp_mail($s_emailto, $mailsubject, $mailcontents, $headers);
}
}
// -------------------------------------------------------------------------------------
if ($l_category != "") {
$l_rescategory = $wpdb->get_var("SELECT `id` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");
$l_titlecategory = $wpdb->get_var("SELECT `title` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");
$l_descriptioncategory = $wpdb->get_var("SELECT `description` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");
$l_keywordscategory = $wpdb->get_var("SELECT `keywords` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");

$l_subcategory = $_GET['scat'];
if ($l_subcategory != "") {
$l_ressubcategory = $wpdb->get_var("SELECT `id` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
$l_subcategorymysql = " AND `id`='$l_ressubcategory'";
$l_titlecategory = $wpdb->get_var("SELECT `title` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
$l_descriptioncategory = $wpdb->get_var("SELECT `description` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
$l_keywordscategory = $wpdb->get_var("SELECT `keywords` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
}
}

if ($l_titlecategory == "") {
header("HTTP/1.0 404 Not Found");
die('<h1>404 error</h1><br/>Sorry, but the category you are looking for cannot be found!');
}

$cat = $wpdb->get_results("SELECT * FROM `$eblex_categories` WHERE `parent`='$l_rescategory' $l_subcategorymysql ORDER BY `zindex` DESC");
$catadd = $wpdb->get_results("SELECT * FROM `$eblex_categories` WHERE `parent`='' ORDER BY `zindex` DESC");
$catcount = $wpdb->get_var("SELECT count(*) FROM `$eblex_categories` WHERE `parent`='$l_rescategory'$l_subcategorymysql");

if ($l_ressubcategory == "") {
$ccatid = $l_rescategory;
} else {
$ccatid = $l_ressubcategory;
}

eval(base64_decode("JGVibGV4X2NoZWNrdmFyMiA9IDA7"));
function eblex_get_wpfooter($do)
{
eval(base64_decode("Z2xvYmFsICRlYmxleF9jaGVja3Zhcjs="));
eval(base64_decode("Z2xvYmFsICRlYmxleF9jaGVja3ZhcjI7"));
eval(base64_decode("aWYgKCRkbyA9PSB0cnVlKSB7aWYgKCRlYmxleF9jaGVja3ZhciA9PSAxKSB7aWYgKCRlYmxleF9jaGVja3ZhcjIgPT0gMSkge2dldF9mb290ZXIoKTt9fX0gZWxzZSB7ZWNobyhiYXNlNjRfZGVjb2RlKCJQR1JwZGlCaGJHbG5iajBpWTJWdWRHVnlJajVRYjNkbGNtVmtJR0o1SUR4aElHaHlaV1k5SW1oMGRIQTZMeTkzZDNjdVlXeGxZM1JoYm1jdVkyOXRJaUIwYVhSc1pUMGlWR2hwY3lCa2FYSmxZM1J2Y25rZ2FYTWdjRzkzWlhKbFpDQmllU0JCYkdWalZHRnVaeTVqYjIwaVBrRnNaV01nVkdGdVp6d3ZZVDQ4TDJScGRqND0iKSk7ICRlYmxleF9jaGVja3ZhcjIgPSAxO30="));
}

function eblex_docheck()
{
eval(base64_decode("Z2xvYmFsICRlYmxleF9jaGVja3Zhcjs="));
eval(base64_decode("aWYgKCFmdW5jdGlvbl9leGlzdHMoYmFzZTY0X2RlY29kZSgiWldKc1pYaGZaMlYwWDNkd1ptOXZkR1Z5IikpKSB7ZGllKGJhc2U2NF9kZWNvZGUoIlUyTnlhWEIwSUd4cFkyVnVjMlVnYUdGeklHSmxaVzRnWW5KbFlXTm9aV1FoIikpO30gZWxzZSB7ZXZhbChiYXNlNjRfZGVjb2RlKCJKR1ZpYkdWNFgyTm9aV05yZG1GeUlEMGdNVHM9IikpO30="));
eval(base64_decode("JGVibGV4X2NoZWNrdmFyID0gMTs="));
}

if ($ccatid == "") {
$ccatid = "0";
}

if ($_GET['cat'] == "") {
$sroot = 1;
} else {
$sroot = 0;
}

function check_email($str)
{
if (ereg("^.+@.+\..+$", $str))
return 1;
else
return 0;
}

$validated = -1;
eblex_docheck();
eval(base64_decode("aWYgKCRlYmxleF9jaGVja3ZhciAhPSAxKSB7ZGllKCdTY3JpcHQgbGljZW5zZSBoYXMgYmVlbiBicmVhY2hlZCEnKTt9"));
$maxcharacters = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='approval'");
$allownonreciprocal = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='nonreciprocal'");
$activationneeded = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='approval'");
$s_captcha = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='captcha'");

if (isset($_POST['title']) && $_POST['title'] != "") {
$s_verification = $wpdb->get_var("SELECT `text` FROM `$eblex_captcha` WHERE `id`='".eblex_fixinput($_POST['key'])."'");
//echo("<!-- $s_verification , ".$_POST['captcha']." , ".$_POST['key']." -->");
if (strtoupper($s_verification) == strtoupper($_POST['captcha']) || $s_captcha == "0") {
$validated = 0;
$l_title = eblex_fixinput($_POST['title']);
$l_description = eblex_fixinput($_POST['description']);
if ($_POST['nonreciprocal'] == "yes") {
$l_nonreciprocal = "1";
} else {
$l_nonreciprocal = "0";
}
$l_url = eblex_fixinput($_POST['url']);
$l_rurl = eblex_fixinput($_POST['rurl']);
$l_email = eblex_fixinput($_POST['email']);
$l_priorityindex = "0";
$l_acomment = "";
$l_status = "1";
$l_category = eblex_fixinput($_POST['category']);
$l_id = md5(uniqid(rand(), true) . $l_title);
$l_time = time();

if ($activationneeded == "0") {
$l_active = "1";
} else {
$l_active = "0";
}
// Overflow check
if (strlen($l_title) > 200000 || strlen($l_url) > 200000 || strlen($l_rurl) > 200000 || strlen($l_email) > 200000 || strlen($l_category) > 200000) {
die("Too many characters inside link addition request.");
}

if (($l_rurl != "" && $l_rurl != "http://") || ($l_nonreciprocal == "1" && $allownonreciprocal == "1")) {
if (strlen($l_description) > $maxcharacters) {
if ($l_url != "" || $l_url != "http://") {
if ($l_priorityindex != "" && is_numeric($l_priorityindex)) {
if ($l_category != "") {
foreach ($catadd as $row) {
if ($row->id != $l_parent) {
$validated = 1;
}
}

if ($validated == 1) {
if ($l_email != "" && check_email($l_email) == 1) {
if ($l_status == "0" || $l_status == "1") {
$realdate = date("H:i:s j.n.Y.", $l_time);
$categoryname = $wpdb->get_var("SELECT `title` FROM `$eblex_categories` WHERE `id`='$l_category'");
$emailinfo = array("title" => $l_title, "nonreciprocal" => $l_nonreciprocal, "url" => $l_url, "category" => $categoryname, "description" => $l_description, "reciprocalurl" => $l_rurl, "email" => $l_email, "time" => $realdate, "id" => "$l_id");

$wpdb->query("INSERT INTO `$eblex_links` (`title`, `active`, `nonreciprocal`, `url`, `category`, `description`, `email`, `reciprocalurl`, `status`, `time`, `administratorcomment`, `zindex`, `id`) VALUES ('$l_title', '$l_active', '$l_nonreciprocal', '$l_url', '$l_category', '$l_description', '$l_email', '$l_rurl', '$l_status', '$l_time', '$l_acomment', '0', '$l_id');");
// Phone home
eblex_email($emailinfo);

$noticemsg = "Link successfully added!";
if ($l_active != "1") {
$noticemsg .= "<br/>However, it will not be displayed immidiately because the administrator has required all links to be approved before appearing in this link directory.";
if ($l_nonreciprocal != "1") {
$s_reciprocalurl = str_replace('"', "&quot;", $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='reciprocalurl'"));
$noticemsg .= "<br/><br/>Please make sure you have created a backlink to this website on your side.<br/><br/><input name=\"reclink\" type=\"text\" value=\"$s_reciprocalurl\" size=\"55\" readonly=\"true\" onClick=\"this.select();\"/>";
}
}
$validated = 2;
} else {
$noticemsg = "Invalid status value!";
}
} else {
$noticemsg = "Invalid e-mail address!";
}
} else {
$noticemsg = "Invalid category!";
}
} else {
$noticemsg = "No category selected!";
}
} else {
$noticemsg = "Priority index field is invalid!";
}
} else {
$noticemsg = "URL field was left empty!";
}
} else {
$noticemsg = "Your description was too long! Please shorten it below $maxcharacters characters and try again.";
}
} else {
if ($allownonreciprocal == "0") {
$noticemsg = "Non-reciprocal links are not allowed at this time.";
} else {
$noticemsg = "Invalid reciprocal URL. If you do not want to enter a reciprocal URL, check the \"Non reciprocal\" checkbox.";
}
}
} else {
$noticemsg = "Invalid verification code!";
}
}

if ($mod_rewrite == "1") {
if ($_GET['cat'] == "" && $_GET['scat'] == "" && $_GET['page'] == "") {
$urladdon = "";
} else {
$urladdon = "../../";
}
}

?>
View user's profile Send private message
PostPosted: Tue Sep 22, 2009 10:46 pm Reply with quote
Cyko
Moderator
Moderator
Joined: Jul 21, 2009
Posts: 375




abdulbasit:

Code:
<?php
$mod_rewrite = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='seofriendly'");
$lpp = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='linksperpage'");
$show_description = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='description'");
$show_url = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='url'");
$officialdirectoryname = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='name'");

function eblex_fixinput($str)
{
$str = str_replace("\"", "&quot;", $str);
$str = str_replace("<", "&lt;", $str);
$str = str_replace(">", "&gt;", $str);

return $str;
}

$l_category = $_GET['cat'];

if (strtolower($_GET['cat']) == "root" && $_GET['page'] == "1") {
header("Location: ../../");
}

if ($l_category == "") {
$l_titlecategory = "Root";
}

$is_active = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='is_active'");
if ($is_active != "1") {
die("<div align=\"center\">Plugin deactivated, please reactivate to view links.</div>");
}
// -------------------------------- E-mailing procedure --------------------------------
$s_approval = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='approval'");
$s_email = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='email'");
$s_emailto = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='emailto'");
$s_showcategorydescription = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='showcategorydescription'");

function eblex_email($info)
{
global $s_approval;
global $s_email;
global $s_emailto;
global $wpdb;
global $eblex_settings;
$header = "From: Link Exchange\r\n";

if ($info["nonreciprocal"] == "1") {
$nonreciprocal = "yes";
} else {
$nonreciprocal = "no";
$rurl = "\nReciprocal URL: " . $info["reciprocalurl"];
}

if ($s_email == "1") {
if ($s_approval == "1") {
$mailsubject = "New link exchange request";
$mailcontents = "You have received a new link exchange request.\n\n\nHere are the details related to this link: \nTitle: " . $info["title"] . "\nNon - reciprocal: $nonreciprocal" . $rurl . "\nWebsite URL: " . $info["url"] . "\nCategory: " . $info["category"] . "\nDescription: " . $info["description"] . "\nContact e-mail: " . $info["email"] . "\nTime of submission: " . $info["time"] . "\n\n\n\nThis e-mail was automatically generated by Link Exchange script, do not attempt to reply";
} else {
$mailsubject = "New link exchange notification";
$mailcontents = "You have received a new link inside your directory.\n\n\nHere are the details related to this link: \nTitle: " . $info["title"] . "\nNon - reciprocal: $nonreciprocal" . $rurl . "\nWebsite URL: " . $info["url"] . "\nCategory: " . $info["category"] . "\nDescription: " . $info["description"] . "\nContact e-mail: " . $info["email"] . "\nTime of submission: " . $info["time"] . "\n\n\n\nThis e-mail was automatically generated by Link Exchange script, do not attempt to reply";
}
$s_emailfrom = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='emailfrom'");
$headers = "From: \r\n";
$headers .= "Content-Type: text/html; charset=ISO-8859-1 ";
$headers .= "MIME-Version: 1.0 ";

@wp_mail($s_emailto, $mailsubject, $mailcontents, $headers);
}
}
// -------------------------------------------------------------------------------------
if ($l_category != "") {
$l_rescategory = $wpdb->get_var("SELECT `id` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");
$l_titlecategory = $wpdb->get_var("SELECT `title` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");
$l_descriptioncategory = $wpdb->get_var("SELECT `description` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");
$l_keywordscategory = $wpdb->get_var("SELECT `keywords` FROM `$eblex_categories` WHERE `nicename`='$l_category' AND `parent`=''");

$l_subcategory = $_GET['scat'];
if ($l_subcategory != "") {
$l_ressubcategory = $wpdb->get_var("SELECT `id` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
$l_subcategorymysql = " AND `id`='$l_ressubcategory'";
$l_titlecategory = $wpdb->get_var("SELECT `title` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
$l_descriptioncategory = $wpdb->get_var("SELECT `description` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
$l_keywordscategory = $wpdb->get_var("SELECT `keywords` FROM `$eblex_categories` WHERE `nicename`='$l_subcategory' AND `parent`='$l_rescategory'");
}
}

if ($l_titlecategory == "") {
header("HTTP/1.0 404 Not Found");
die('<h1>404 error</h1><br/>Sorry, but the category you are looking for cannot be found!');
}

$cat = $wpdb->get_results("SELECT * FROM `$eblex_categories` WHERE `parent`='$l_rescategory' $l_subcategorymysql ORDER BY `zindex` DESC");
$catadd = $wpdb->get_results("SELECT * FROM `$eblex_categories` WHERE `parent`='' ORDER BY `zindex` DESC");
$catcount = $wpdb->get_var("SELECT count(*) FROM `$eblex_categories` WHERE `parent`='$l_rescategory'$l_subcategorymysql");

if ($l_ressubcategory == "") {
$ccatid = $l_rescategory;
} else {
$ccatid = $l_ressubcategory;
}

$eblex_checkvar2 = 0;
function eblex_get_wpfooter($do)
{
global $eblex_checkvar;
global $eblex_checkvar2;
if ($do == true) {
if ($eblex_checkvar == 1) {
if ($eblex_checkvar2 == 1) {
get_footer();
}
}
} else {
echo('<div align="center">Powered by <a href="http://www.alectang.com" title="This directory is powered by AlecTang.com">Alec Tang</a></div>');
$eblex_checkvar2 = 1;
}
}

function eblex_docheck()
{
global $eblex_checkvar;
if (!function_exists('eblex_get_wpfooter')) {
die("Script license has been breached!");
} else {
$eblex_checkvar = 1;
}
$eblex_checkvar = 1;
}

if ($ccatid == "") {
$ccatid = "0";
}

if ($_GET['cat'] == "") {
$sroot = 1;
} else {
$sroot = 0;
}

function check_email($str)
{
if (ereg("^.+@.+\..+$", $str))
return 1;
else
return 0;
}

$validated = -1;
eblex_docheck();
if ($eblex_checkvar != 1) {
die('Script license has been breached!');
}
$maxcharacters = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='approval'");
$allownonreciprocal = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='nonreciprocal'");
$activationneeded = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='approval'");
$s_captcha = $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='captcha'");

if (isset($_POST['title']) && $_POST['title'] != "") {
$s_verification = $wpdb->get_var("SELECT `text` FROM `$eblex_captcha` WHERE `id`='" . eblex_fixinput($_POST['key']) . "'");
//echo("<!-- $s_verification , ".$_POST['captcha']." , ".$_POST['key']." -->");
if (strtoupper($s_verification) == strtoupper($_POST['captcha']) || $s_captcha == "0") {
$validated = 0;
$l_title = eblex_fixinput($_POST['title']);
$l_description = eblex_fixinput($_POST['description']);
if ($_POST['nonreciprocal'] == "yes") {
$l_nonreciprocal = "1";
} else {
$l_nonreciprocal = "0";
}
$l_url = eblex_fixinput($_POST['url']);
$l_rurl = eblex_fixinput($_POST['rurl']);
$l_email = eblex_fixinput($_POST['email']);
$l_priorityindex = "0";
$l_acomment = "";
$l_status = "1";
$l_category = eblex_fixinput($_POST['category']);
$l_id = md5(uniqid(rand(), true) . $l_title);
$l_time = time();

if ($activationneeded == "0") {
$l_active = "1";
} else {
$l_active = "0";
}
// Overflow check
if (strlen($l_title) > 200000 || strlen($l_url) > 200000 || strlen($l_rurl) > 200000 || strlen($l_email) > 200000 || strlen($l_category) > 200000) {
die("Too many characters inside link addition request.");
}

if (($l_rurl != "" && $l_rurl != "http://") || ($l_nonreciprocal == "1" && $allownonreciprocal == "1")) {
if (strlen($l_description) > $maxcharacters) {
if ($l_url != "" || $l_url != "http://") {
if ($l_priorityindex != "" && is_numeric($l_priorityindex)) {
if ($l_category != "") {
foreach ($catadd as $row) {
if ($row->id != $l_parent) {
$validated = 1;
}
}

if ($validated == 1) {
if ($l_email != "" && check_email($l_email) == 1) {
if ($l_status == "0" || $l_status == "1") {
$realdate = date("H:i:s j.n.Y.", $l_time);
$categoryname = $wpdb->get_var("SELECT `title` FROM `$eblex_categories` WHERE `id`='$l_category'");
$emailinfo = array("title" => $l_title, "nonreciprocal" => $l_nonreciprocal, "url" => $l_url, "category" => $categoryname, "description" => $l_description, "reciprocalurl" => $l_rurl, "email" => $l_email, "time" => $realdate, "id" => "$l_id");

$wpdb->query("INSERT INTO `$eblex_links` (`title`, `active`, `nonreciprocal`, `url`, `category`, `description`, `email`, `reciprocalurl`, `status`, `time`, `administratorcomment`, `zindex`, `id`) VALUES ('$l_title', '$l_active', '$l_nonreciprocal', '$l_url', '$l_category', '$l_description', '$l_email', '$l_rurl', '$l_status', '$l_time', '$l_acomment', '0', '$l_id');");
// Phone home
eblex_email($emailinfo);

$noticemsg = "Link successfully added!";
if ($l_active != "1") {
$noticemsg .= "<br/>However, it will not be displayed immidiately because the administrator has required all links to be approved before appearing in this link directory.";
if ($l_nonreciprocal != "1") {
$s_reciprocalurl = str_replace('"', "&quot;", $wpdb->get_var("SELECT `value` FROM `$eblex_settings` WHERE `option`='reciprocalurl'"));
$noticemsg .= "<br/><br/>Please make sure you have created a backlink to this website on your side.<br/><br/><input name=\"reclink\" type=\"text\" value=\"$s_reciprocalurl\" size=\"55\" readonly=\"true\" onClick=\"this.select();\"/>";
}
}
$validated = 2;
} else {
$noticemsg = "Invalid status value!";
}
} else {
$noticemsg = "Invalid e-mail address!";
}
} else {
$noticemsg = "Invalid category!";
}
} else {
$noticemsg = "No category selected!";
}
} else {
$noticemsg = "Priority index field is invalid!";
}
} else {
$noticemsg = "URL field was left empty!";
}
} else {
$noticemsg = "Your description was too long! Please shorten it below $maxcharacters characters and try again.";
}
} else {
if ($allownonreciprocal == "0") {
$noticemsg = "Non-reciprocal links are not allowed at this time.";
} else {
$noticemsg = "Invalid reciprocal URL. If you do not want to enter a reciprocal URL, check the \"Non reciprocal\" checkbox.";
}
}
} else {
$noticemsg = "Invalid verification code!";
}
}

if ($mod_rewrite == "1") {
if ($_GET['cat'] == "" && $_GET['scat'] == "" && $_GET['page'] == "") {
$urladdon = "";
} else {
$urladdon = "../../";
}
}
?>
View user's profile Send private message
PostPosted: Wed Sep 23, 2009 5:19 am Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




Thank you very much Cyko. This really worked. Is there any website to decode this?
View user's profile Send private message
PostPosted: Wed Sep 23, 2009 6:42 am Reply with quote
Cyko
Moderator
Moderator
Joined: Jul 21, 2009
Posts: 375




abdulbasit wrote:
Thank you very much Cyko. This really worked. Is there any website to decode this?


PHP's http://uk.php.net/base64-decode (base64_decode) function should do the trick.

Replace the eval with echo or highlight_string, which will display something more useful, then replace the code displayed with the encoded.

Just becarefull since, in someareas of the code you posted its using double quotes and within the string it contains double quotes:

For example:

echo "<div allign="center">Testing</div>"

Will not work because:

The echo is using double quotes, and so is the string, to fix this do:

echo "<div='center'>Testing</div>"

or

echo "<div=\"center\">Testing</div>"

Hope that helped
View user's profile Send private message
PostPosted: Wed Nov 04, 2009 3:09 pm Reply with quote
abdulbasit
Regular user
Regular user
Joined: Mar 07, 2008
Posts: 24




@ Cyko

I didn't understand as I didn't go any place on the site to put the code and get de-coded.

By the way, I have one more scrambled code which I need to get de-coded. If you can please help me in decoding it would be highly appreciated.

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


Thanks and best regards

AbdulBasit
View user's profile Send private message
PostPosted: Wed Nov 04, 2009 4:24 pm Reply with quote
Cyko
Moderator
Moderator
Joined: Jul 21, 2009
Posts: 375




@ abdulbasit

Code:
<?php get_header(); ?>

<div id="leftcol">

<?php $the_query = new WP_Query('category_name=Featured&showposts=1&orderby=rand');
while ($the_query->have_posts()) : $the_query->the_post(); $do_not_duplicate = $post->ID;
?>

<div id="featured">

<a href="<?php the_permalink() ?>" title="Read Full Article">
<?php
$files = get_children("post_parent=$id&post_type=attachment&post_mime_type=image");
if($files){
$keys = array_keys($files);
$num=$keys[0];
$thumb=wp_get_attachment_url($num);

print "<div><a href='".get_permalink()."' title=''><img src='$thumb' class='thumbnail' alt='' /></a></div>";
}
?>
</a></div>

<div id="featured_description">
<a href="<?php the_permalink() ?>" title="Read Full Article"><span class="fdestination">Feature Destination: <?php the_title(); ?></span></a>
<p><?php echo strip_tags(get_the_excerpt()); ?></p>

</div>

<?php endwhile; ?>


<div id="sidebar_left"><!-- Sidebar Left -->

<div id="container_left"><!-- Random Left Posts -->
<h2 class="alth2">Hot Spots</h2>
<div class="random_post">

<?php if (Themehave_random_posts()) :
while (Themehave_random_posts()) : $theme_queryRandom->the_post(); ?>

<div class="left_posts">

<a href="<?php the_permalink() ?>" class="left_posts_link" rel="bookmark"><?php
$files = get_children("post_parent=$id&post_type=attachment&post_mime_type=image");
if($files){
$keys = array_keys($files);
$num=$keys[0];
$thumb=wp_get_attachment_thumb_url($num);

print "<div class='photo'><a href='".get_permalink()."' title=''><img src='$thumb' class='thumbnail' alt='' width='80' height='80'/></a></div>";
}
?>
</a>

<a class="posts_link" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a><br/>


<?php echo limit_content($post->post_content, 22) ?>


</div>
<div style="clear:both;"></div>

<?php endwhile;
else :
endif; ?>
</div>

<div style="clear:both"></div>

</div><!-- Random Left Posts Ends -->
<h2 class="alth2">Featured Video Destination</h2>


<div class="video"><!--Random Video Module -->


<?php newThemeOptions_showVideo();?>

</div><!--Random Video Module Ends -->
<div style="clear:both;"></div>

<h2 class="alth2">Popular Tags</h2>

<div class="tags"><!-- Popular Tags Midle Section -->

<div class="tags_container">


<?php if ( function_exists('wp_tag_cloud') ) :
wp_tag_cloud('smallest=8&largest=18&number=54'); ?>
</div>
</div><!-- Popular Tags Midle Section Ends -->

<?php endif; ?>

<div style="clear:both;"></div>

</div><!-- Sidebar Left Ends -->

<div id="middle"><!-- Midle Section -->


<h2 class="alth2">Travel News</h2>
<?php if (Themehave_posts()) :
while (Themehave_posts()) : $theme_query->the_post(); ?>

<div class="post_middle"><!-- Posts Midle Section -->

<h1><a class="posts_link" title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>


<a href="<?php the_permalink() ?>" class="left_posts_link" rel="bookmark">
<?php
$files = get_children("post_parent=$id&post_type=attachment&post_mime_type=image");
if($files){
$keys = array_keys($files);
$num=$keys[0];
$thumb=wp_get_attachment_thumb_url($num);

print "<div class='photo'><a href='".get_permalink()."' title=''><img src='$thumb' class='thumbnail' alt='' width='80' height='80'/></a></div>";
}
?>
</a>


<div class="entry">


<?php echo limit_content($post->post_content, 90) ?>
<br/><br/><a href="<?php comments_link(); ?>"><?php comments_number('no comments','one comment','% comments'); ?></a>

</div>


</div><!-- Posts Midle Section Ends -->

<?php endwhile;
endif; ?>
<h2 class="alt2h2">More News</h2>
<div class="more_news"><!-- More News Midle Section -->

<div class="more_news_container">

<?php if (Themehave_posts_rest()) :
while (Themehave_posts_rest()) : $theme_queryRest->the_post();
if(!@in_array(get_the_ID(), $showedPosts)){
$showedPosts[] = get_the_ID();
?>

<div class="more_news_title"><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a>

</div>
<?php }
endwhile;
else : ?>
<h2 class="center"></h2>

<?php endif; ?>
</div>
</div><!-- More News Midle Section Ends -->



</div><!-- Midle Section Ends -->
</div><!-- Left Column Section Ends -->
<?php get_sidebar();
get_footer();?>
View user's profile Send private message
Please help me in decoding this
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 2
Goto page 1, 2Next
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.037 Seconds