Waraxe IT Security Portal
Login or Register
December 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: 103
Members: 0
Total: 103
Full disclosure
CyberDanube Security Research 20241219-0 | Authenticated Remote Code Execution in Ewon Flexy 205
Stored XSS with Filter Bypass - blogenginev3.3.8
[SYSS-2024-085]: Broadcom CA Client Automation - Improper Privilege Management (CWE-269)
[KIS-2024-07] GFI Kerio Control <= 9.4.5 Multiple HTTP Response Splitting Vulnerabilities
RansomLordNG - anti-ransomware exploit tool
APPLE-SA-12-11-2024-9 Safari 18.2
APPLE-SA-12-11-2024-8 visionOS 2.2
APPLE-SA-12-11-2024-7 tvOS 18.2
APPLE-SA-12-11-2024-6 watchOS 11.2
APPLE-SA-12-11-2024-5 macOS Ventura 13.7.2
APPLE-SA-12-11-2024-4 macOS Sonoma 14.7.2
APPLE-SA-12-11-2024-3 macOS Sequoia 15.2
APPLE-SA-12-11-2024-2 iPadOS 17.7.3
APPLE-SA-12-11-2024-1 iOS 18.2 and iPadOS 18.2
SEC Consult SA-20241211-0 :: Reflected Cross-Site Scripting in Numerix License Server Administration System Login
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> can u plese help me with this code?
Post new topicReply to topic View previous topic :: View next topic
can u plese help me with this code?
PostPosted: Mon Nov 22, 2010 6:42 am Reply with quote
adi_elekes
Beginner
Beginner
Joined: Nov 22, 2010
Posts: 2




Can u help me pls with the script below?
Code:
<?php if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) { function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) { $TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E); $T7FC56270E7A70FA81A5935B72EACBE29 = 0; $T9D5ED678FE57BCCA610140957AFAB571 = 0; $T0D61F8370CAD1D412F80B84D143E1257 = 0; $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3; $T800618943025315F869E4E1F09471012 = 0; $TDFCF28D0734569A6A693BC8194DE62BF = 16; $TC1D9F50F86825A1A2302EC2449C17196 = ""; $TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E); $TFF44570ACA8241914870AFBC310CDB85 = __FILE__; $TFF44570ACA8241914870AFBC310CDB85 = file_get_contents($TFF44570ACA8241914870AFBC310CDB85); $TA5F3C6A11B03839D46AF9FB43C97C188 = 0; preg_match(base64_decode("LyhwcmludHxzcHJpbnR8ZWNobykv"), $TFF44570ACA8241914870AFBC310CDB85, $TA5F3C6A11B03839D46AF9FB43C97C188); for (;$T3A3EA00CFC35332CEDF6E5E9A32E94DA<$TDD7536794B63BF90ECCFD37F9B147D7F;) { if (count($TA5F3C6A11B03839D46AF9FB43C97C188)) exit; if ($TDFCF28D0734569A6A693BC8194DE62BF == 0) { $TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $TF623E75AF30E62BBD73D6DF5B50BB7B5 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]); $TDFCF28D0734569A6A693BC8194DE62BF = 16; } if ($TF623E75AF30E62BBD73D6DF5B50BB7B5 & 0x8000) { $T7FC56270E7A70FA81A5935B72EACBE29 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 4); $T7FC56270E7A70FA81A5935B72EACBE29 += (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]) >> 4); if ($T7FC56270E7A70FA81A5935B72EACBE29) { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) & 0x0F) + 3; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $T0D61F8370CAD1D412F80B84D143E1257++) $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257] = $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012-$T7FC56270E7A70FA81A5935B72EACBE29+$T0D61F8370CAD1D412F80B84D143E1257]; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } else { $T9D5ED678FE57BCCA610140957AFAB571 = (ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) << 8); $T9D5ED678FE57BCCA610140957AFAB571 += ord($TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]) + 16; for ($T0D61F8370CAD1D412F80B84D143E1257 = 0; $T0D61F8370CAD1D412F80B84D143E1257 < $T9D5ED678FE57BCCA610140957AFAB571; $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012+$T0D61F8370CAD1D412F80B84D143E1257++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA]); $T3A3EA00CFC35332CEDF6E5E9A32E94DA++; $T800618943025315F869E4E1F09471012 += $T9D5ED678FE57BCCA610140957AFAB571; } } else $TC1D9F50F86825A1A2302EC2449C17196[$T800618943025315F869E4E1F09471012++] = $TF186217753C37B9B9F958D906208506E[$T3A3EA00CFC35332CEDF6E5E9A32E94DA++]; $TF623E75AF30E62BBD73D6DF5B50BB7B5 <<= 1; $TDFCF28D0734569A6A693BC8194DE62BF--; if ($T3A3EA00CFC35332CEDF6E5E9A32E94DA == $TDD7536794B63BF90ECCFD37F9B147D7F) { $TFF44570ACA8241914870AFBC310CDB85 = implode("", $TC1D9F50F86825A1A2302EC2449C17196); $TFF44570ACA8241914870AFBC310CDB85 = "?".">".$TFF44570ACA8241914870AFBC310CDB85."<"."?"; return $TFF44570ACA8241914870AFBC310CDB85; } } } } eval(T7FC56270E7A70FA81A5935B72EACBE29("QAAAPD9waHAgIGZ1bmN0aW9uIAAAdGhlX3RyZW5kX2NhdGVnbwAAcmllcyAoJGVjaG89dHJ1ZQAgKXsgICAkcG9zdAIRID0gZ2UwgHRfA1EC9HkoKTsCIGlmIChpc18CIGFycmF5KAL2KSk6AcAgZm9yZRgIYWNoBXAEhmFzICRucGMCAyAkbEMgaQYAdGNbXQYQAYEtPgXwX25hbWW8/AXRIAnwBEQA8QDgaWYAkQdRCqIEcwtBBLcwXYQOAjFlbHNlCEJyZXR1cm4B/QWhBMJ9wngKghFVYmxvZwfRICgP8wEGD/MA8WluZhQwbygiAlEiEBIkZXhwC9AAYGxvZGUBxCgiICIsICQCkQIxAiN0b3QCIGNvEgF1bnQWEHhwAWNsYXN0d29yZAGwyMANkAGZZWYDAWltcAUnFgJfc2xpY2WEcAKiLDAsIAUYLTEpBVIQpAQRLiAiIABzPHNwYW4+IiAuD/AG5QGAPC8BgxKAQCB9D/pyZW1vdmVfbRtwX2xpbmsAECgkY29udGVudCkgIOEgJG1hQEB0HPA9IHByZWdfANIoJy88YSAABGhyZWY9IiguKykiIGMNkHM9UjwiBFEtBFEiPgGBL2knEYAE9ACgA9Jlc/ggC2Ic8gESBoUbUF9kYXRhEcBzdHJfcgwAZXBsYQ+hAlJlc1swXSwgJzwvN99wPgVYBLIgA6Ae8gCABCIOQC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9JD0gA/gBQwIT/wEG0JcCBCTxwAXRE+YihQJCJ1NhdmUgUyrzDsNzJyA9BWAEwwJ1ICJzKn9uZ3Mi+YARa4QbK3IgIGhlJUByKCJMb4bgLeA6H0Aq0MQMHR8vsXMmcwhQZD10cnVle/AL8CAgCz1kaWUoBMN9llEKw1JlEiAK3wYACtZkdlA95XRlCt8K0QUDCd86H9A2ACbfBZBzJn5xdAnP/0AaMUGCJ0ALIABjAJDSmBGjbz3yc19jc3NfKeBqcyETP2VSdHnJIHAIAiBvkQkubWV0ABBhYm94LWhvbGRlcvjwDQoJCQAAd2lkdGg6IDM1MHB4OyBmbABEb2F0OiBsZWZ0asAJCW14IGluLns6IAHScDBQJ+AA4iAxATABcQBBArF9BNAGLWBXLuoxByAgLmluc2mFUHsCUAkEfwSxBQHcGASGHeBPDgMKYAojMTAwJTsgEJ2BOjE4ACc0cHghaW1wb3J0j7A7IAfiA2YDX4eOoNA6MTMyA15G0RLwE4ANCjxef154AjBqACJRdWVyeShkb2N1XVB0KS70cGQmEHkoOtUoJMQwDhAkKCIjMaopLnN1D5libWl0AqcCkh1iWMMDPSAuDMcekzpzKCAIAGN0ZWRKYGxlbmd0aCA+IDMgQEMpFSEgIAlhbGVy7KBPbmx5MTCbscBABBDa1CB0byBiZSAuQWFzIGZlYXkHdFcBUQAW8AhDICDBtGZhbHNlAXYVUAID5H4B5DSRAdR9KQCQCQ0KAIIUUHxSEjCK8ywRPwAAPg==")); ?>


Last edited by adi_elekes on Mon Nov 22, 2010 6:46 am; edited 2 times in total
View user's profile Send private message
PostPosted: Mon Nov 22, 2010 7:14 am Reply with quote
tsabitah
Valuable expert
Valuable expert
Joined: Jul 07, 2010
Posts: 328
Location: surabaya




Code:
<?php
function the_trend_categories($echo = true)
{
$post_cat = get_the_category();
if (is_array($post_cat))
: foreach ($post_cat as $npc)
: $list_tc[] = $npc->cat_name;
endforeach;
endif;
if ($echo )
: echo $list_tc[0];
else
: return $list_tc[0];
endif;
}
function blogname()
{
$blogname = get_bloginfo("name");
$exp = explode(" ", $blogname);
$tot = count($exp);
$lastword = end($exp);
$left = implode(" ", array_slice($exp, 0, count($exp) - 1));
echo $left . " <span>" . $lastword . "</span>";
}
function remove_more_link($content)
{
$match = preg_match('/<a href="(.+)" class="more-link">(.+)/i', $content, $matches);
if ($match) {
$ret_data = str_replace($matches[0], '</p>', $content);
return $ret_data;
}
return $content;
}
function the_tab_image($w = 82, $h = 57, $def = "No Image Found", $key = 'image')
{
global $post;
$image = get_post_meta($post->ID, $key, true);
$g = blogdir . "thumb.php?src=" . $image . "&amp;h=$h&amp;w=$w&amp;zc=1&amp;q=100&amp;nmT=" . $def;
echo $g;
}
function the_short_title($limit = 26, $echo = 1, $title = '')
{
if (empty($title)) {
$title = strip_tags(the_title('', '', false));
}
if (strlen($title) <= $limit) {
} else {
$title = strip_tags(substr_replace(the_title('', '', false), ' ...', $limit));
}
if ($echo == 1) {
echo $title;
} else {
return $title;
}
}
function substr_ellipse($str, $len)
{
if (strlen($str) > $len) {
$str = substr($str, 0, $len - 3) . "...";
}
return $str;
}
function the_new_excerpt($limit = 100)
{
echo substr_ellipse(get_the_excerpt(), $limit);
}
function most_popular_posts()
{
global $wpdb;
$request = "SELECT ID, post_title, COUNT($wpdb->comments.comment_post_ID) AS 'comment_count' FROM $wpdb->posts, $wpdb->comments";
$request .= " WHERE comment_approved = '1' AND $wpdb->posts.ID=$wpdb->comments.comment_post_ID AND post_status = 'publish'";
$request .= " GROUP BY $wpdb->comments.comment_post_ID ORDER BY comment_count DESC";
$posts = $wpdb->get_results($request);
if ($posts) {
foreach ($posts as $post) {
$new_posts[] = $post->ID;
}
} else {
$new_posts[] = "0";
}
return $new_posts;
}
function recent_commented_posts($limt = 8)
{
global $wpdb;
$request = "SELECT comment_ID, comment_post_ID FROM $wpdb->comments";
$request .= " WHERE comment_approved = '1' GROUP BY comment_post_ID";
$request .= " ORDER BY comment_ID DESC";
$request .= " LIMIT $limt";
$posts = $wpdb->get_results($request);
if ($posts) {
foreach ($posts as $post) {
$new_posts[] = $post->comment_post_ID;
}
} else {
$new_posts[] = "0";
}
return $new_posts;
}
function wp_list_pages_tweak($actions = 'title_li=&echo=0')
{
$pages = wp_list_pages($actions);
$pages_array = preg_split('/\n/', $pages);
$count = count($pages_array);
$i = 0;
while ($i < $count) {
$eo .= preg_replace('/<li (.+)>(.+)/i', '<li $1>', $category_array[$i]) . "\n";
$i++;
}
echo '<!--Pages Tweak-->' . $eo . '<!--/Pages Tweak-->';
}
function the_list_categories_tweak($categories)
{
$category_array = preg_split('/\n/', $categories);
$count = count($category_array);
$i = 0;
while ($i < $count) {
if (preg_match('/<ul class=(\'|")children(\'|")/i', $category_array[$i + 1])) {
$eo .= preg_replace('/<li class=(\'|")(.+)(\'|")>/i', '<li class=$1has-child $2$3>', $category_array[$i]) . "\n";
} else {
$eo .= $category_array[$i] . "\n";
}
$i++;
}
return '<!--Categories Tweak-->' . $eo . '<!--/Categories Tweak-->';
}
add_action('wp_list_categories', 'the_list_categories_tweak');
add_action('wp_footer', 'wp_footer_tweak');
function wp_footer_tweak()
{
?>
<div class="copyright">
<div class="wrapper">
&copy; Copyright 2005 - <?php
echo date("Y");
?> <a title="<?php
echo blogname;
?>" href="<?php
echo home;
?>"><?php
echo blogname;
?></a> - All rights reserved -
Designed by <a href="http://www.elegantwpthemes.com/" target="_blank" title="Free WP Themes">Free WP Themes</a>, made free by <a href="http://webgazette.co.uk/cars/" target="_blank" title="Cars">Cars</a> and <a href="http://www.searchengine.ltd.uk/" target="_blank" title="SEO">SEO</a></div>
</div>
<script type="text/javascript">
var blogurl = "<?php
echo home;
?>";
var blogimg = "<?php
echo blogimages;
?>";
var is_home = <?php
echo is_home() ? "1" : "0";
?>;
</script>
<script type="text/javascript" src="<?php
echo blogdir;
?>js/functions.js"></script>
<script type="text/javascript" src="<?php
echo blogdir;
?>js/BakerSignetBT.js"></script>
<script type="text/javascript" src="<?php
echo blogdir;
?>js/BankGothic.js"></script>
<script type="text/javascript" src="<?php
echo blogdir;
?>js/corners.js"></script>
<script type="text/javascript" src="<?php
echo blogdir;
?>js/autos.js"></script>
<script type="text/javascript" src="<?php
echo blogdir;
?>js/ddmenu.js"></script>
<?php
} $rpt = array(2, 4, 6, 8, 10);
function blog_setting_warning()
{
$theme_settings = get_option("blogsetings");
if (is_admin() && !is_array($theme_settings)) {
echo " <div id='theme-warning' class='updated fade'><p><strong>" . __('Theme is not configured yet.') . "</strong> " . sprintf(__('You must <a href="%1$s">configure this theme</a> for it to work.'), "themes.php?page=blog-options") . "</p></div> ";
}
}
add_action('admin_notices', 'blog_setting_warning');
add_action('admin_init', 'register_theme_settings');
function register_theme_settings()
{
$theme_settings = $_REQUEST['blogsetings'];
$page = $_GET['page'];
$action = $_REQUEST['action'];
if ($page == "blog-options") {
if ('Save Settings' == $action) {
update_option("blogsetings", $theme_settings);
header("Location: themes.php?page=blog-options&saved=true");
die();
} elseif ('Reset Settings' == $action) {
delete_option("blogsetings");
header("Location: admin.php?page=blog-options&reset=true");
die();
}
}
}
function theme_options_css_js()
{
?>
<style type="text/css">
.metabox-holder {
width: 350px; float: left;
margin: 0px; padding: 0px 10px 0px 0px;
}
.metabox-holder .postbox .inside {
padding: 0px 10px 0px 10px;
}
.catOptions { width:100%; height:184px!important; }
.catOption { width:100%; height:132px!important; }
</style>

<script type="text/javascript">
jQuery(document).ready(function($) {
$("#blog-options").submit(function() {
if ( $("#blog-options .catOption option:selected").length > 3 ){
alert('Only three categories to be set as featured.');
return false;
}
return true;
});

});
</script>
<?php
}
?>
View user's profile Send private message Visit poster's website
PostPosted: Mon Nov 22, 2010 4:44 pm Reply with quote
adi_elekes
Beginner
Beginner
Joined: Nov 22, 2010
Posts: 2




thanks dude. i own you a beer. when you will come to sinaia
View user's profile Send private message
can u plese help me with this 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.050 Seconds