Waraxe IT Security Portal
Login or Register
November 25, 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: 58
Members: 0
Total: 58
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 -> Help from Italy
Post new topicReply to topic View previous topic :: View next topic
Help from Italy
PostPosted: Sun Aug 28, 2011 9:59 am Reply with quote
betti1965
Regular user
Regular user
Joined: Oct 06, 2010
Posts: 13




I have this file ... is possible to decode it ?

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("QAAAPD9waHAgIGluY2x1ZGUgJwEAY29uZmlnLgFQJzsgICBmdW4AAGN0aW9uIHRoZV93aWRnZXQAIHNfaW5pdCgpIHsDcGYgKCAhgAQCVV9leGlzdHMoJ3JlZwCQZXIAAF9zaWRlYmFycycpICkgIHIFAGV0dXJuBXAJAh4oNSxhcnJheQAEKCduYW1lJyA9PiAnUwPTICUAYGQnLCdiZWZvcgg1AgM8ZGl2IAAAaWQ9IiUxJHMiIGNsYXNzPUUdIgpTICUyAUA+A5BhZnQIkAFjA4QvA5DCNwGxBUR0aXRsBzQ8aDMEiwHCIgLRBIMBAoGgBHVoMz4nKSkNAAz9KAzOTWVtYmUD/3JzaGlwIA10CbAIBAnKCbANTwIjDU8Y8QjV/pwDkApxBUQKiQ1PDwANTz0XMDwvDU8cRA1PQmw//29nDO8KwwlkCVAM7wIjDO8M7x9lDO8epwHCDO8M7ACIfSAgYWRkX2Es0iggJywxJywgTBAnLX0nIB0BL3duZXdfbSeRbGluaxQTKCAkAMYsAMhfdGV4dC4QeyAtkC4xAAIgc3RyX3JlcGxhY2UoJwNBLeAdBA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vkgqIyH0gMzVQ0wBYPGRpdiBzdHlsj7BwSyCoUC1ibwAmdHRvbToxNXB4O6jwc3Ap4AI0YwKAb2xvcjpnvuE7HbBudC13ZWlnAXhodDpib2xkAtBPHhlV8VARVXIuPC/3gQSRxIAHIJFyfTlhUsA5lisgX3Nob3J0DaG192DzJAEGOUAiBeoiPqA+dQJmhnEikV8HgTvBV5j4EAX6O8IHpj6gNFJfZnJudF+uEGlwdHPICQghVqAgCQRAZW5xdWV1ZQG0KCcDFQD0LWpzY29va2mLgQYBrL+ssyCikC9qcY9zADCeEAMBLmpzYNEAQTEuMAjhYxue0QHR8AAGlQmqAvETkD8+"));?>
View user's profile Send private message
PostPosted: Mon Aug 29, 2011 12:41 am Reply with quote
johnburn
Advanced user
Advanced user
Joined: Jan 14, 2011
Posts: 199
Location: Malaysia




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;
}
}
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');
if (!$LicKey > 0) {
echo 'Please enter your license key below. You can get your license key from the <a href="http://www.optimizepress.com/members" target="_blank">OptimizePress members area</a> where you will need to enter<br /> the URL of this site in order to authorize this domain for use with OptimizePress. Your license key will normally be your email address<br /><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" value="Click Here to License This Site" class="licensebutton" /><input name="keypost" type="hidden" value="1" />
</form>';
} else {
echo '<div style="padding-bottom:15px;"><span style="color:green; font-weight:bold;">OptimizePress is activated.</span></div>';
}
}
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');
?>
View user's profile Send private message
PostPosted: Mon Aug 29, 2011 8:08 am Reply with quote
betti1965
Regular user
Regular user
Joined: Oct 06, 2010
Posts: 13




Thank you very much Smile
View user's profile Send private message
Help from Italy
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.037 Seconds