Waraxe IT Security Portal
Login or Register
November 24, 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: 39
Members: 0
Total: 39
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 -> Base64 Decoding - Another File - Need help Please
Post new topicReply to topic View previous topic :: View next topic
Base64 Decoding - Another File - Need help Please
PostPosted: Wed Dec 22, 2010 9:31 am Reply with quote
anvanster
Beginner
Beginner
Joined: Dec 21, 2010
Posts: 3




Hi,
another file for decoding
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("QAIAPD9waHAgABBpbmNsdWRlICcBMGNvbmZpZy4BcCc7AYAAMGZ1bmMAAHRpb24gdGhlX3dpZGdldHMAQF9pbml0KCkgewIAaWYgKCAhgAQCZV9leGlzdHMoJ3JlZwCQZXIABF9zaWRlYmFycycpICkC8HJlCgB0dXJuBcIJAk4oNSxhcnJheSgACCduYW1lJyA9PiAnUwQDICVkAMAnLCdiZWZvcgh1AgM8ZGl2IGkAAGQ9IiUxJHMiIGNsYXNzPSKKOwqTICUyAUA+A5BhZnQIwAFjA4QvA5ABsYRvBUR0aXRsBzQ8aDMEiwHCIgLRBIMBAgR1A0BoMz4nKSkNIQ0NKAzeTWVtYmVyB/9zaGlwIA2ECcAIFAnaCcANXwIjDV8ZQQjlA5D9OAqBBUQKmQ1fDxANXz0XQDwvDV8clQ1fQmxvf/5nDP8K0wl0CWAM/wIjDP8M/x+FDP8exwHCDP8M/SBAiH0oUCBhZGRfYS1yKCAnLNEnLCBOBCcuHScgHWIDAC3lIG5ld19tKCFsaQUHbmsoICQAxiwAyF90ZXh0LtAx4C4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FK0W9uW91Ojz7vaWMEgRnPGc8ZzxnCIAeBFlUH0GN6cJavIiIGod/LGcHAQCABEgN1DBdOj06PA/JOj3RzGZ8gTo9GUB/5dG8gTo9MwD5PPk9fED5PTo9J8E2wTo9tZU6PfAF0To9nJD5PPk8+RDxiciAvPg0KCQAQBAE8Zm9ybUTwdGhvZD0icG9zj4AKCGVuY3TIsm2FIGlwYXJ0tEItZGEQIHRhInegY2VwdENoYGBldD0iVQwdVEYtOAFhWkE9IiI+RauQEeZ4QmhTUB5mOiA84j/UsyaQdNAiIMGhAMUvPgpVA3pz/6PSpAHwBOMEIwPwC6MLc88lw3QxwcENCjwMUsCU4ARNwTW2XcM8c3BhbiBzdHlsyABjbwUAbG9yOmf1oTtiQG50LXdlaWdoAA50OmJvbGQ7Ij5UaGWJA1DxiIIuPrU8LwQRBgM4oWPfEIEgdB9vdB8kwGV0H3V0H3L3cvpQfuJ0H2cgJZ9uAUIlnwxgJZ86jLMlnyWf3/8lnCVfIpnwJV8nsCVfJV8lX5owFNElXyvgITMklSVf588voSVfA5AvPgF0BCMlX/RyJV9ybR9WH4Fy8XAHnZdWAXNoheAFUbNkJAEWUEAiT9aZIl3RXZUCdu+BAVAFongPZHgBBkp4HV3QqFJfZnJudF/5MA8BaXB0cwiRYxAAMXyAZW5xdWV1ZQHUIBgoJwM1LWpzY29va2nfgQZBdGVtIgNwbLSQX2RpmtFvcnlfdXJpBMD4ABxjL2pzADDy4AMBLmpzCYEAQTEuMAkiDAC/AAvpafOwAfEGtQnqAxIUciA/Pg=="));?>


Thanks
View user's profile Send private message
PostPosted: Wed Dec 22, 2010 1:07 pm Reply with quote
tsabitah
Valuable expert
Valuable expert
Joined: Jul 07, 2010
Posts: 328
Location: surabaya




Code:
<?php
include 'config.php';
function the_widgets_init()
{
if (!function_exists('register_sidebars'))
return;
register_sidebars(5, array('name' => 'Sidebar %d', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>'));
register_sidebar(array('name' => 'Membership Sidebar', 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widgettitle">', 'after_title' => '</h3>'));
register_sidebar(array('name' => 'Blog Sidebar', '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;
}
function curl_get_file_contents($URL)
{
$c = curl_init();
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($c, CURLOPT_URL, $URL);
$contents = curl_exec($c);
curl_close($c);
if ($contents) {
return $contents;
} else {
return false;
}
}
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';
$LicContents = curl_get_file_contents($LicFile);
if ($LicContents) {
$LicDomain = $_SERVER['HTTP_HOST'];
if (!strstr($LicContents, $LicDomain)) {
echo 'There appears to be a problem with your license. Please ensure you have licensed your domain correctly following the instructions in the members area. Contact our <a href="http://www.jolthelpdesk.com">helpdesk</a> for support.';
exit;
}
} else {
echo 'There appears to be a problem with your license. Please ensure you have licensed your domain correctly following the instructions in the members area. Contact our <a href="http://www.jolthelpdesk.com">helpdesk</a> for support.';
exit;
}
}
}
add_action('wp_head', 'CheckLicense');
function CheckLicenseAdmin($LicKey, $LicDomain)
{
$LicFile = 'http://www.optimizepress.com/licences/' . $LicKey . '.xml';
$LicContents = curl_get_file_contents($LicFile);
if ($LicContents) {
$LicDomain = $_SERVER['HTTP_HOST'];
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';
$LicContents = curl_get_file_contents($LicFile);
if ($LicContents) {
$LicDomain = $_SERVER['HTTP_HOST'];
if (!strstr($LicContents, $LicDomain)) {
echo 'There appears to be a problem with your license. Please ensure you have licensed your domain correctly following the instructions in the members area. Contact our <a href="http://www.jolthelpdesk.com">helpdesk</a> for support.<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 'There appears to be a problem with your license. Please ensure you have licensed your domain correctly following the instructions in the members area. Contact our <a href="http://www.jolthelpdesk.com">helpdesk</a> for support.<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>';
}
}
function get_shortname()
{
$shortname = "OptimizePress";
return $shortname;
}
add_action('wp_head', 'get_shortname');
function optpress_frnt_scripts()
{
wp_enqueue_script('optpress-jscookie', get_template_directory_uri() . '/js/js_cookie.js', '', '1.0');
}
add_action('init', 'optpress_frnt_scripts');
?>

_________________
http://sms-internet.biz
View user's profile Send private message Visit poster's website
Base64 Decoding - Another File - Need help Please
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