|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 89
Members: 0
Total: 89
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Decoding Help Request |
|
Posted: Fri Jan 09, 2009 9:47 pm |
|
|
gungyr |
Beginner |
|
|
Joined: Jan 09, 2009 |
Posts: 1 |
|
|
|
|
|
|
|
I need some help decoding this, as I haven't figured out how to do it myself just yet. Much appreciated.
Code: | <?php
/* FLINK V4
Encoder : NET-TEC PHP-ENCODER V 1.0
WEB : http://www.net-tec.biz/
WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited.
*/
$ooo="W1o9OkYpSjwTPRcdFQAqBzwQWEMWCEZodmx5JkRfURdbSRIuAgBLD0AZExE7ZD88MxtUUhBXDg94UBEzUVVFAQE8diU4aBEJF0lWWw5mHwBEWVhCAEYmIycpPldAFxcRVAgpHBdEW1hTChI2JSJ5KURYW1IaGwonFlQJWl5XaQhxQCI1LFh5RB8MSUZ3UlRfGhhYRAsgLyl5NVBYW1IXHRUtBlREWl9FEwlfR0FUL0VAWBQmGwkjBisWXFtdCk4mQEZ5ZxYXGF0VUwUpHhULXUNFSEFyajt2N15xGBs1Hwg1XRcWcxhfKA07OWQrJEZeGQYRBEE2f1hEPxcWQ0YwJGYtIkIaVBUYEEhhF1RIGhB6Igg8ZSA6NF9FQwIJWhYuXlNuOBcWREZ7eWdsYxZSUxMfGBMOBhkQGVsSRA85ISUXNFtCPX9CXWxLeHluOB0ZaUx1QGtzL2VAWBpZGRJmHgYUQ1hSDQIwKGt5PlVEXgANBEg1GgRpRRc8aUx1QGtzN3ZFVh8YB0Y0BhoNFVBEQBcwLz4tNFl/QwENVAMuGlQXWllCCQd1Ly02MxZSXwFZBgU2G1oQ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CdfXCc7JztldmFsKCRsbGxsbGxsbGwpOw=="));
?> |
|
|
|
|
|
|
|
|
|
Posted: Mon Aug 06, 2012 12:08 am |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
Code: | <?php
$defaultHtml = '<a href="http://www.net-tec.biz">Webdesign</a>'; // html to display when no connection or local domain
$linksNum = 1; // number of links to show
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);
}
?> |
|
|
|
|
|
|
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
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|