Xin tool reg LR

phongdatgl

Junior
Joined
Nov 18, 2011
Messages
62
Reactions
30
MR
0.001
Coded by Phongdatgl

PHP:
<?php
/*
	CODED BY PHONGDATGL
*/
set_time_limit(3600);
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start('ob_gzhandler'); 
else ob_start();  
################# CONFIG ################ 
$config['proxy'] = ''; 
$config['proxy_port'] = ''; 
$config['useragent'] = 'Mozilla/5.0 (iPhone,U; CPU iPhone OS 2_2_1 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) version/3.1.1 Mobile/5H11 Safari/525.20'; /// Iphone 2.21 
$config['cookie_file'] = 'c1.txt'; 
$config['firstname'] = 'AA';
$config['lastname'] = 'BB';
$config['accountname'] = 'AA BB';
$config['welcomemsg'] = 'Hello!';

if(!file_exists($config['cookie_file'])){ 
    $fp = @fopen($config['cookie_file'],'w'); 
    @fclose($fp); 
} 

######################################### 
################# FUNCTION ################ 
function curl($url='',$var=''){ 
    global $config; 
    $curl = curl_init();  
    if (isset($config['proxy'])) {  
        curl_setopt($curl, CURLOPT_HTTPPROXYTUNNEL, true);  
        curl_setopt($curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);  
        curl_setopt($curl, CURLOPT_PROXY, $config['proxy']);  
        curl_setopt($curl, CURLOPT_PROXYPORT, $config['proxy_port']);  
    }  
    curl_setopt($curl, CURLOPT_URL, $url);  
    curl_setopt($curl,CURLOPT_CONNECTTIMEOUT,20);  
    curl_setopt($curl, CURLOPT_USERAGENT, $config['useragent']);  
    curl_setopt($curl, CURLOPT_REFERER, "http://phongdatgl.biz/blog/");  
    if($var) { 
        curl_setopt($curl, CURLOPT_POST, true);  
        curl_setopt($curl, CURLOPT_POSTFIELDS, $var);  
    } 
    curl_setopt($curl, CURLOPT_COOKIEFILE,''.$config['cookie_file']);  
    curl_setopt($curl, CURLOPT_COOKIEJAR,''.$config['cookie_file']);  
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 3); 
    curl_setopt ($curl, CURLOPT_HEADER, 0);  
    //curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);  
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);  
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);  
    $result = curl_exec($curl);  
    curl_close($curl); 
    return $result; 
} 
function inStr($s,$as){ 
        $s=strtoupper($s); 
        if(!is_array($as)) $as=array($as); 
        for($i=0;$i<count($as);$i++) if(strpos(($s),strtoupper($as[$i]))!==false) return true; 
        return false; 
} 
function del_files($dir,$extension){ 
    foreach(glob($dir.'*.'.$extension) as $v){ 
        unlink($v); 
    } 
} 
###################################################### 
########### MAIN CODE ################################ 
?> 
<html> 
    <head> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    <title>LR Fast Registion - Phongdatgl</title> 
    <meta name="keywords" content="LR Fast  Registion" /> 
    <meta name="description" content="LR Fast  Registion" /> 
     
    <script type="text/javascript"></script> 
    <style> 
    body { 
    margin:20px 0px; padding:0px; 
    text-align:center; 
    } 
     
    #Content { 
    width:400px; 
    margin:0px auto; 
    text-align:left; 
    padding:5px; 
    border:1px dashed #333; 
    background-color:#eee; 
    } 
	#tab1 {
		color: green;
	}
    </style> 

    </head> 
<body onload="document.phongdatgl.captcha.focus();"> 
<div id="Content"> 
<center><font color=red size="4"><b>LR Fast Registion</b></font><br /> </center>
<?php

//$delcaptcha = del_files('tmp/','gif'); 
$data = curl("https://www.libertyreserve.com/en/registration");
	
	//get c
	$c = explode('name="c" value="', $data);
	$c = explode('"', $c[1]);
	$c = $c[0];
	
	//get __u
	$__u = explode('name="__u" type="hidden" value="', $data);
	$__u = explode('"', $__u[1]);
	$__u = $__u[0];
	
    $img = 'https://www.libertyreserve.com/captcha.jpg?c='.$c; 
    $get_img = curl($img); 
    $random = mt_rand().'.gif'; 
    $fp = @fopen('tmp/'.$random,'w'); 
    @fwrite($fp,$get_img); 
    @fclose($fp); 
    print('<form action="" method="post" name="phongdatgl">'); 
    print('Email: <input name="email" value="[email protected]" type="text" size="20" />E.g: [email protected]<br />'); 
	print('<input name="__u" type="hidden" value="'.$__u.'" />');
	print('<input name="c" type="hidden" value="'.$c.'" />');
    print('<img height="50px" src="tmp/'.$random.'" border="0" /><br />Code Verify <input name="captcha" type="text" size="7" /><br />'); 
    print('<input name="submit" value="submit" type="submit" />'); 
    print('</form>'); 

if(isset($_POST['submit'])){ 
    $url = 'https://www.libertyreserve.com/en/registration'; 
	$email = $_POST['email'];
	$captcha = $_POST['captcha'];
	$c = $_POST['c'];
	$__u = $_POST['__u'];
	
	//change email
	$email = explode('@', $email);
	$name = $email[0];
	$domain = $email[1];
	$time = time();
	$mail = $name.'%2B'.$time.'@'.$domain;
    $var = "FirstName=".$config['firstname']."&LastName=".$config['lastname']."&AccountName=".$config['accountname']."&Mail=".$mail."&Mail2=".$mail."&SecurityQuestionId=1&Answer=aaaa&Text=".$config['welcomemsg']."&AccountFunctions=0&c=".$c."&turingnumber=".$captcha."&__u=".$__u."&Agree=Agree";
	$result = curl($url,$var); 
	
	if(inStr($result, "Required field cannot be left blank")){
		echo "<font color=\"red\"><b>Required field cannot be left blank</b></font>";
	} elseif(inStr($result, "Invalid turing number. Please try again"))	{
		echo "<font color=\"red\"><b>Invalid turing number. Please try again</b></font>";
	} elseif(inStr($result, "Required to be a minimum of 4 characters in length"))	{
		echo "<font color=\"red\"><b>Required to be a minimum of 4 characters in length</b></font>";
	} else {	
		//get password
		$password = explode('Password</label>', $result);
		$password = explode('</p>', $password[1]);
		$password = $password[0];
		
		//get login pin
		$login_pin = explode('Login PIN</label>', $result);
		$login_pin = explode('</p>', $login_pin[1]);
		$login_pin = $login_pin[0];
		
		//get master KEY
		$master_KEY = explode('Master Key</label>', $result);
		$master_KEY = explode('</p>', $master_KEY[1]);
		$master_KEY = $master_KEY[0];
		
		//get security question
		$question = explode('Security Question</label>', $result);
		$question = explode('</p>', $question[1]);
		$question = $question[0];
		
		//get secury answer
		$answer = explode('Answer</label>', $result);
		$answer = explode('</p>', $answer[1]);
		$answer = $answer[0];
		echo "
		<font color=green><strong>Your Account Information:</strong></font><br />
		<table width=\"400\">
			<tr>
				<td id=\"tab1\">Password:</td>
				<td>".$password."</td>
			</tr>
			<tr>
				<td id=\"tab1\">Login PIN:</td>
				<td>".$login_pin."</td>
			</tr>
			<tr>
				<td id=\"tab1\">Master KEY:</td>
				<td>".$master_KEY."</td>
			</tr>
			<tr>
				<td id=\"tab1\">Security Question:</td>
				<td>".$question."</td>
			</tr>
			<tr>
				<td id=\"tab1\">Security Answer:</td>
				<td>".$answer."</td>
			</tr>
		</table>
		";
	}
}
?> 
</div> 
</body></html>
 

Announcements

Today's birthdays

Forum statistics

Threads
425,066
Messages
7,151,151
Members
177,612
Latest member
cnwpscom

Most viewed of week

Most discussed of week

Most viewed of week

Most discussed of week

Back
Top Bottom