Waraxe IT Security Portal
Login or Register
October 21, 2026
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: 466
Members: 0
Total: 466
Full disclosure
[0day-rubbish] TRENDnet TV-IP302PI firmware 1.02.38 authenticated NTP server-address OS command injection to root command execution via a shell-form system() call (7.2 High, PR:H)
[0day-rubbish] Royal Render 9.1.26b: default-unauthenticated job submission on rrServer TCP 7773 reaches worker-side shell execution as the worker identity, measured root (8.1 High)
[0day-rubbish] ProSoft Technology RLX-IFH24E v2.2.44 unsigned firmware upgrade package to root command execution and full account-database overwrite (7.2)
[0day-rubbish] Parasoft Continuous Testing Platform 10.7.5-SNAPSHOT anonymous deserialization in the database restore path to JSP command execution as uid=1000 (9.8)
[0day-rubbish] Exasol Database 7.1.30 docker-db form: shipped default SYS credential to PYTHON3 UDF os.popen command execution as uid=500(exadefusr), output returned in-band (8.8)
[0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the setWAN WAN-configuration handler, root command execution (7.2)
[0day-rubbish] Edimax BR-6478AC firmware v2.20 authenticated command injection in the formWlanMP manufacturing-test handler, root command execution (7.2)
[ROOTEDCON] Call for Papers 2027 · RootedCON2027 (Madrid)
VestaCP <= 0.9.8-26: authenticated config-parser eval sinks ->root RCE (VESTACP-2026-001)
[SYSS-2026-080]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-079]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-078]: dcm4che - Path Traversal (CWE-22)
[SYSS-2026-077]: dcm4che - Path Traversal (CWE-22)
[0day-rubbish] Synametrics Syncrify 6.2 build 1178 authenticated PublicLink chunk-upload path traversal to /etc/cron.d and root command execution (7.5)
[0day-rubbish] South River Technologies Titan MFT Server 26.0.0 first-run administrator setup chained to job post-command injection, NT AUTHORITY\SYSTEM (8.1)
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> MD5 hashes -> Help me Decode this theme-functions.php of a WP theme?
Post new topicReply to topic View previous topic :: View next topic
Help me Decode this theme-functions.php of a WP theme?
PostPosted: Sun Dec 26, 2010 12:52 am Reply with quote
adkins
Beginner
Beginner
Joined: Dec 26, 2010
Posts: 3




<?php if(!function_exists("TC9A16C47DA8EEE87")){function TC9A16C47DA8EEE87($T059EC46CFE335260){$T059EC46CFE335260=base64_decode($T059EC46CFE335260);$TC9A16C47DA8EEE87=0;$TA7FB8B0A1C0E2E9E=0;$T17D35BB9DF7A47E4=0;$T65CE9F6823D588A7=(ord($T059EC46CFE335260[1])<<Cool+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++])<<Cool;$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++])<<Cool;$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("QAIAPD9waHAgABBmdW5jdGlvbiAAAHRoZV93aWRnZXRzX2luaXQACCgpIHsgIGlmICggIQJVX2V4AEBpc3RzKCdyZWcAkGVyX3NpZAAAZWJhcnMnKSApICByZXR1cgQAbjsgIAkCHig1LGFycmF5KCcAEG5hbWUnID0+ICdTA9MgJWQnAYAsJ2JlZm9yCDUCAzxkaXYgaWQAAT0iJTEkcyIgY2xhc3M9IgpTFHcgJTIBQD4DkG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OoCeI3yUEcCufVCufDZIHxQ3qMKIgJKAwdWUE4DGdct3XH9UBdjMBchagAa4yQQJSVASEOxjhIBZ/bRAUMf++FrMHkg7RFwAHkBCRQGEb0SnqXzIERA8uPy43RA95//tEDzjARA9+dRMyCvEYkEBCCsEUNQvWRA9ED2ZEDweh0/8Yf0QPZUQPbnRED4KxRA9ED0QPYpFED0QPWdo5PwAgPi48YnIgLz4KCQAQPGZvcm0ACCBtZXRob2Q9InBvc4DgZW5jUEB0uAJtdpBpcGFydKPSLWRhdGEigEBpoGNlcHRDaGFyn1A9IlVURi1gsDgBYTphPSIiPkWb4HJHpiCgIGhlch+fZTogw0QFo9yBuJUjQAJgIiCxEQDF+pAKQwNqf9RzweQB4LRDyBMD4AuTBcO+dU3QdbQgMbEhCjzcAAwysAIgR/AxtVMjPHNwYW4gc3R5bICgAwBjb2xvcjpn5CE7XnBudC13ZQABaWdodDpib2xkOyI+VGhlerPHiEvxejIuPC8EEQXSpVBZDVlvdREHZG9lQNlz5DJhcHBlYXJ8AVmSYusQFbB0aQUjWwwgWUVyCiDrMCBcIARXb3IgY7JQCBAgcwN5dXBwb3J0HSQc7yKDgBzvH0Ac72V0HO/PnxzvHO89IhzvHO8nIhzvJvAvPgF0HO8Y8BzvK6CgABzofRzgICA/Pg=="));?>
View user's profile Send private message
PostPosted: Sun Dec 26, 2010 1:33 am Reply with quote
tsabitah
Valuable expert
Valuable expert
Joined: Jul 07, 2010
Posts: 328
Location: surabaya




Code:
<?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>'));
}
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 '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';
$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 '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 'Your license does not appear to have been activated. Please recheck your license or contact 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>';
}
}
?>

_________________
http://sms-internet.biz
View user's profile Send private message Visit poster's website
PostPosted: Sun Dec 26, 2010 9:06 am Reply with quote
adkins
Beginner
Beginner
Joined: Dec 26, 2010
Posts: 3




Can you tell me is there any software or any script which you used to decode that?How did you do that.Care to help me out.Thanks
View user's profile Send private message
Help me Decode this theme-functions.php of a WP theme?
www.waraxe.us Forum Index -> MD5 hashes
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



PCWizardHub - Helping you fix, build, and optimize your PC life
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.036 Seconds