Waraxe IT Security Portal
Login or Register
October 19, 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: 96
Members: 0
Total: 96
Full disclosure
SEC Consult SA-20241009-0 :: Local Privilege Escalation via MSI installer in Palo Alto Networks GlobalProtect (CVE-2024-9473)
APPLE-SA-10-03-2024-1 iOS 18.0.1 and iPadOS 18.0.1
Some SIM / USIM card security (and ecosystem) info
SEC Consult SA-20240930-0 :: Local Privilege Escalation via MSI Installer in Nitro PDF Pro (CVE-2024-35288)
Backdoor.Win32.Benju.a / Unauthenticated Remote CommandExecution
Backdoor.Win32.Prorat.jz / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Amatu.a / Remote Arbitrary File Write (RCE)
Backdoor.Win32.Agent.pw / Remote Stack Buffer Overflow (SEH)
Backdoor.Win32.Boiling / Remote Command Execution
Defense in depth -- the Microsoft way (part 88): a SINGLEcommand line shows about 20, 000 instances of CWE-73
SEC Consult SA-20240925-0 :: Uninstall Password Bypass in BlackBerry CylanceOPTICS Windows Installer Package (CVE-2024-35214)
Apple iOS 17.2.1 - Screen Time Passcode Retrieval (MitigationBypass)
CyberDanube Security Research 20240919-0 | Multiple Vulnerabilities in Netman204
Submit Exploit CVE-2024-42831
Stored XSS in "Edit Profile" - htmlyv2.9.9
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Need to decode this ugly code
Post new topicReply to topic View previous topic :: View next topic
Need to decode this ugly code
PostPosted: Fri Nov 05, 2010 12:20 pm Reply with quote
warriorn
Beginner
Beginner
Joined: Nov 05, 2010
Posts: 2




HI,
I just got this code but could not understand even a single line what it meant..
Searched in the forum and have found some one have already decoded something of this sort..

how to decode this..

or if anyone can helpe me with the source it is too fine.
Code:


<?php if(!function_exists("TC9A16C47DA8EEE87")){function TC9A16C47DA8EEE87($T059EC46CFE335260){$T059EC46CFE335260=base64_decode($T059EC46CFE335260);$TC9A16C47DA8EEE87=0;$TA7FB8B0A1C0E2E9E=0;$T17D35BB9DF7A47E4=0;$T65CE9F6823D588A7=(ord($T059EC46CFE335260[1])<<8)+ord($T059EC46CFE335260[2]);$TBF14159DC7D007D3=3;$T77605D5F26DD5248=0;$T4A747C3263CA7A55=16;$T7C7E72B89B83E235="";$T0D47BDF6FD9DDE2E=strlen($T059EC46CFE335260);$T43D5686285035C13=__FILE__;$T43D5686285035C13=file_get_contents($T43D5686285035C13);$T6BBC58A3B5B11DC4=0;preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"),$T43D5686285035C13,$T6BBC58A3B5B11DC4);for(;$TBF14159DC7D007D3<$T0D47BDF6FD9DDE2E;){if(count($T6BBC58A3B5B11DC4)) exit;if($T4A747C3263CA7A55==0){$T65CE9F6823D588A7=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$T65CE9F6823D588A7+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++]);$T4A747C3263CA7A55=16;}if($T65CE9F6823D588A7&0x8000){$TC9A16C47DA8EEE87=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<4);$TC9A16C47DA8EEE87+=(ord($T059EC46CFE335260[$TBF14159DC7D007D3])>>4);if($TC9A16C47DA8EEE87){$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])&0x0F)+3;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T17D35BB9DF7A47E4++)$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4]=$T7C7E72B89B83E235[$T77605D5F26DD5248-$TC9A16C47DA8EEE87+$T17D35BB9DF7A47E4];$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}else{$TA7FB8B0A1C0E2E9E=(ord($T059EC46CFE335260[$TBF14159DC7D007D3++])<<8);$TA7FB8B0A1C0E2E9E+=ord($T059EC46CFE335260[$TBF14159DC7D007D3++])+16;for($T17D35BB9DF7A47E4=0;$T17D35BB9DF7A47E4<$TA7FB8B0A1C0E2E9E;$T7C7E72B89B83E235[$T77605D5F26DD5248+$T17D35BB9DF7A47E4++]=$T059EC46CFE335260[$TBF14159DC7D007D3]);$TBF14159DC7D007D3++;$T77605D5F26DD5248+=$TA7FB8B0A1C0E2E9E;}}else $T7C7E72B89B83E235[$T77605D5F26DD5248++]=$T059EC46CFE335260[$TBF14159DC7D007D3++];$T65CE9F6823D588A7<<=1;$T4A747C3263CA7A55--;if($TBF14159DC7D007D3==$T0D47BDF6FD9DDE2E){$T43D5686285035C13=implode("",$T7C7E72B89B83E235);$T43D5686285035C13="?".">".$T43D5686285035C13;return $T43D5686285035C13;}}}}eval(TC9A16C47DA8EEE87("QAIAPD9waHAgABRmdW5jdGlvbiAAAHRoZV93aWRnZXRzX2luaXQIECgpIHsCQGlmICggIQJlX2V4aQCAc3RzKCdyZWcAkGVyX3NpZGUAgGJhcnMnKSApAvByZXR1cm47kAAAoCAgAk0oYXJyYXkoJ25hbWUBACcgPT4gJ1MD0ycsJ2JlZm9ywAAIFQHTPGRpdiBpZD0iJTEkcyIAiiBjbGFzcz0iCjMgJTIBQD4DkGE7hGZ0CGABYwOELwOQAbEFRHRpdGwHBDxobwIzBIsBwiIC0QSDAQIEdWgzPicpKQzACYRHDK1zKDUsDN5Gb28IsCAlZAlgB7QJev/6CWAM/wIjDP8YgQiFA5AKIQVECjkM/w6wDP89FrA8UEQvDPZ9GeFhZGRfYR+iKCAnHwEnLCcCICcgTScgD/EC8SAVIG5ld19tGrFsAoNpbmsoICQAxiwAyF90Z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IiPkVcEHJJ5iEwAPwgaGVyZTogPLjjBaPSwa4lI9ACYCIg+/6mkQDF8dAKVAN6c7eUAfAE473DA/ALowXTtBVQIHWjgKmwMaaxDQo8DFKlhFW/JzxzcGFuIBAKc3R5ceAiY29sb3I6Z9qRO2FAbgAAdC13ZWlnaHQ6Ym9sZDsiPhxzVGhlfjNOEX2yLjwvBBEGAzXhfSA5BlvK/E9bABH3Y6CCUQqgWs8gZ2VazyA8Zd98Hx9vH2e/3x8vIojwHy8hgB8vHy8fL4kwHy8iHy8fLylzHy8pQDzwLz4BdB8vHjAfLy8+HysZIAAwadE/Pg=="));?>
View user's profile Send private message
PostPosted: Fri Nov 05, 2010 2:28 pm Reply with quote
tsabitah
Valuable expert
Valuable expert
Joined: Jul 07, 2010
Posts: 328
Location: surabaya




just replace the eval to highlight_string and run
Code:
<?php
function the_widgets_init()
{
if (!function_exists('register_sidebars'))
return;
register_sidebar(array('name' => 'Sidebar', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>'));
register_sidebars(5, array('name' => 'Footer %d', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>'));
}
add_action('init', 'the_widgets_init');
function new_more_link($more_link, $more_link_text)
{
return str_replace('more-link', 'more-link button_link', $more_link);
}
add_filter('the_content_more_link', 'new_more_link', 10, 2);
function new_excerpt_more($excerpt)
{
return str_replace('[...]', '...', $excerpt);
}
add_filter('wp_trim_excerpt', 'new_excerpt_more');
function new_comment_author_link($return )
{
return str_replace($return , "<span></span>$return", $return );
}
add_filter('get_comment_author_link', 'new_comment_author_link');
function optpress_excerpt($length, $ellipsis)
{
$text = get_the_content();
$text = preg_replace('`\[[^\]]*\]`', '', $text);
$text = strip_tags($text);
$text = substr($text, 0, $length);
$text = substr($text, 0, strripos($text, " "));
$text = $text . $ellipsis;
return $text;
}
function optpress_truncate($string, $limit, $break = ".", $pad = "...")
{
if (strlen($string) <= $limit)
return $string;
if (false !== ($breakpoint = strpos($string, $break, $limit))) {
if ($breakpoint < strlen($string) - 1) {
$string = substr($string, 0, $breakpoint) . $pad;
}
}
return $string;
}
function optpress_image_resize($height, $width, $img_url)
{
$image['url'] = $img_url;
$image_path = explode($_SERVER['SERVER_NAME'], $image['url']);
$image_path = $_SERVER['DOCUMENT_ROOT'] . $image_path[1];
$image_info = @getimagesize($image_path);
if (!$image_info)
$image_info = @getimagesize($image['url']);
$image['width'] = $image_info[0];
$image['height'] = $image_info[1];
if ($img_url != "" && ($image['width'] > $width || $image['height'] > $height || !isset($image['width']))) {
$img_url = OPTPRESS_SCRIPTS_FOLDER . "/thumb.php?src=$img_url&amp;w=$width&amp;h=$height&amp;zc=1&amp;q=100";
}
return $img_url;
}
function optpress_contact_form($email)
{
$email_adress_reciever = $email != "" ? $email : get_option('admin_email');
if (isset($_POST['submittedContact'])) {
require(OPTPRESS_INCLUDES . "/submit.php");
}
if (isset($emailSent) && $emailSent == true) {
$out .= '<a name="contact_"></a>';
$out .= '<p class="thanks"><strong>Thanks!</strong> Your email was successfully sent.</p>';
} else {
if (isset($captchaError)) {
$out .= '<a name="contact_"></a>';
$out .= '<p class="error">There was an error submitting the form.<p>';
}
$out .= '<a name="contact_"></a>';
$out .= '<form action="' . get_permalink() . '#contact_" id="contact_form" method="post">';
$out .= '<p><input type="text" name="contactName" id="contactName" value="';
if (isset($_POST['contactName'])) {
$out .= $_POST['contactName'];
}
$out .= '"';
$out .= ' class="requiredFieldContact textfield';
if ($emailError != '') {
$out .= ' inputError';
}
$out .= '"';
$out .= ' size="22" tabindex="1" /><label class="textfield_label" for="contactName">Name *</label></p>';
$out .= '<p><input type="text" name="email" id="email" value="';
if (isset($_POST['email'])) {
$out .= $_POST['email'];
}
$out .= '"';
$out .= ' class="requiredFieldContact email textfield';
if ($emailError != '') {
$out .= ' inputError';
}
$out .= '"';
$out .= ' size="22" tabindex="2" /><label class="textfield_label" for="email">Email *</label></p>';
$out .= '<p><textarea name="comments" id="commentsText" rows="20" cols="30" tabindex="3" class="requiredFieldContact textarea';
if ($commentError != '') {
$out .= ' inputError';
}
$out .= '">';
if (isset($_POST['comments'])) {
if (function_exists('stripslashes')) {
$out .= stripslashes($_POST['comments']);
} else {
$out .= $_POST['comments'];
}
}
$out .= '</textarea></p>';
$out .= '<p class="screenReader"><label for="checking" class="screenReader">If you want to submit this form, do not enter anything in this field</label><input type="text" name="checking" id="checking" class="screenReader" value="';
if (isset($_POST['checking'])) {
echo $_POST['checking'];
}
$out .= '" /></p>';
$out .= '<p class="loadingImg"></p>';
$out .= '<p><input name="submittedContact" id="submittedContact" class="button" tabindex="4" value="Submit" type="submit" /></p>';
$out .= '<p class="screenReader"><input id="submitUrl" type="hidden" name="submitUrl" value="' . get_template_directory_uri() . '/lib/includes/submit.php" /></p>';
$out .= '<p class="screenReader"><input id="emailAddress" type="hidden" name="emailAddress" value="' . $email_adress_reciever . '" /></p>';
$out .= '</form>';
}
return $out;
}
add_option('OptimizePress_active', '0');
add_option('OptimizePress_licensekey', '0');
function url($url)
{
$dom = strstr($url, '//');
$dom = substr($dom, 2);
$mydom = explode("/", $dom);
$suburl = strstr($mydom[0], '.');
if ($suburl != ".com" || $suburl == ".net" || $suburl == ".org" || $suburl == ".biz" || $suburl == ".us" || $suburl == ".cc" || $suburl == ".tv" || $suburl == ".info" || $suburl == ".mobi" || $suburl == ".co" || $suburl == ".me") {
$result = substr($suburl, 1);
return($result);
} else {
return($mydom[0]);
}
}
function CheckLicense()
{
if (!get_option('OptimizePress_active') > 0 || !get_option('OptimizePress_licensekey') > 0) {
echo 'This theme is not yet activated, please enter the license key to activate the theme.';
exit;
} else {
$LicKey = get_option('OptimizePress_licensekey');
$LicFile = 'http://www.optimizepress.com/licences/' . $LicKey . '.xml';
if (@fopen($LicFile, "r")) {
$LicDomain = $_SERVER['HTTP_HOST'];
$LicContents = file_get_contents($LicFile);
if (!strstr($LicContents, $LicDomain)) {
echo 'Sorry, it seems that the current domain is not licensed for this theme. Please buy the genuine license for this domain from <a href="http://www.optimizepress.com">OptimizePress</a>.';
exit;
}
} else {
echo 'Sorry, the license you have entered is not valid. Please buy the genuine license from <a href="http://www.optimizepress.com">OptimizePress</a>.';
exit;
}
}
}
add_action('wp_head', 'CheckLicense');
function CheckLicenseAdmin($LicKey, $LicDomain)
{
$LicFile = 'http://www.optimizepress.com/licences/' . $LicKey . '.xml';
if (@fopen($LicFile, "r")) {
$LicDomain = $_SERVER['HTTP_HOST'];
$LicContents = file_get_contents($LicFile);
if (!strstr($LicContents, $LicDomain)) {
$issue = 1;
} else {
$issue = 3;
}
} else {
$issue = 2;
}
return $issue;
}
function CheckLicenseFileAdmin()
{
$LicKey = get_option('OptimizePress_licensekey');
$LicFile = 'http://www.optimizepress.com/licences/' . $LicKey . '.xml';
if (@fopen($LicFile, "r")) {
$LicDomain = $_SERVER['HTTP_HOST'];
$LicContents = file_get_contents($LicFile);
if (!strstr($LicContents, $LicDomain)) {
echo 'Sorry, it seems that the current domain is not licensed for this theme. Please buy the genuine license for this domain from <a href="http://www.optimizepress.com">OptimizePress</a>.<br />
<form method="post" enctype="multipart/form-data" acceptCharset="UTF-8" action="">Enter license key here: <input type="text" name="lickey" id="lickey" /><br />
<input type="submit" /><input name="keypost" type="hidden" value="1" />
</form>';
} else {
echo '<span style="color:green; font-weight:bold;">Theme is activated.</span>';
}
} else {
echo 'Sorry, your license is not valid. Please buy the genuine license from <a href="http://www.optimizepress.com">OptimizePress</a>.<br />
<form method="post" enctype="multipart/form-data" acceptCharset="UTF-8" action="">Enter license key here: <input type="text" name="lickey" id="lickey" /><br />
<input type="submit" /><input name="keypost" type="hidden" value="1" />
</form>';
}
}
?>
View user's profile Send private message Visit poster's website
PostPosted: Sat Nov 06, 2010 5:33 am Reply with quote
warriorn
Beginner
Beginner
Joined: Nov 05, 2010
Posts: 2




wow..

thanks a billion tsabitah Smile
Greatly appreciated..
View user's profile Send private message
Thanks for decoding.
PostPosted: Tue Dec 21, 2010 11:34 am Reply with quote
anvanster
Beginner
Beginner
Joined: Dec 21, 2010
Posts: 3




Hi,
thanks for decoding a file. I didn't got to manage what you mean by "just replace eval with ..."
but it still worked for me in another way.
View user's profile Send private message
Need to decode this ugly code
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.047 Seconds