Advertisement
kakatoji

cek balance cc

Nov 10th, 2020
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.96 KB | None | 0 0
  1. <?php
  2. class CC
  3. {
  4. protected $bin;
  5. protected $check;
  6. protected $jml;
  7.  
  8. public function __construct($bin, $check = 0, $jml = 0)
  9. {
  10. $this->bin = $bin;
  11. $this->check = $check;
  12. $this->jml = $jml;
  13. }
  14.  
  15. private function color($color = "default" , $text){
  16. $arrayColor = array(
  17. 'grey' => '1;30',
  18. 'red' => '1;31',
  19. 'green' => '1;32',
  20. 'yellow' => '1;33',
  21. 'blue' => '1;34',
  22. 'purple' => '1;35',
  23. 'nevy' => '1;36',
  24. 'white' => '1;0',
  25. );
  26. return "\033[".$arrayColor[$color]."m".$text."\033[0m";
  27. }
  28. public function Execute()
  29. {
  30. $this->LoadBanner();
  31. echo "{~} Starting generation\n";
  32. sleep(2);
  33. if ($this->check < 1) {
  34. for($i=1; $i <= $this->jml; $i++)
  35. {
  36. echo $this->Extrap($this->bin)."\n";
  37. sleep(1);
  38. }
  39. }
  40. else
  41. {
  42. for($i=1; $i <= $this->jml; $i++) {
  43. $card = $this->Extrap($this->bin);
  44. echo $this->Check($card)."\n";
  45. sleep(1);
  46. }
  47. }
  48. }
  49. protected function LoadBanner ()
  50. {
  51. $banner="
  52. \e[1;91m▒█▀▀█ ▒█▀▀▀█ ▒█▀▀█ ░█▀▀█ ▒█▀▀▀█ ▒█▀▀▀█ ▒█▄░▒█
  53. ▒█░░░ ▒█░░▒█ ▒█▄▄▀ ▒█▄▄█ ░▄▄▄▀▀ ▒█░░▒█ ▒█▒█▒█
  54. \e[1;97m▒█▄▄█ ▒█▄▄▄█ ▒█░▒█ ▒█░▒█ ▒█▄▄▄█ ▒█▄▄▄█ ▒█░░▀█ \n";
  55. system("clear");
  56. print $banner;
  57. echo "\n";
  58. echo "\e[3;101mCARDING\e[0m \e[3;101mINJECTCC \e[0m\n";
  59. echo "\e[1;93m=============================================\e[0m\n";
  60. echo "\e[1;91m[\e[1;97m+\e[1;91m]\e[0mAuthor : KAKATOJI\n";
  61. echo "\e[1;91m[\e[1;97m+\e[1;91m]\e[0mYOUTOBE: kakatoji\n";
  62. echo "\e[1;93m<========================>\e[0m\n";
  63.  
  64. }
  65. protected function generateYears()
  66. {
  67. $randMonth = rand(1,12);
  68. $randYears = rand(20,25);
  69. $randCvv = rand(010, 800);
  70. $randMonth < 10 ? $randMonth = "0".$randMonth : $randMonth = $randMonth;
  71. $randCvv < 100 ? $randCvv = "0".$randCvv : $randCvv = $randCvv;
  72. return "|".$randMonth."|20".$randYears."|".$randCvv;
  73. }
  74. protected function Calculate ($ccnumber, $length)
  75. {
  76. $sum = 0;
  77. $pos = 0;
  78. $reversedCCnumber = strrev( $ccnumber );
  79.  
  80. while ( $pos < $length - 1 ) {
  81. $odd = $reversedCCnumber[ $pos ] * 2;
  82. if( $odd > 9 ) {
  83. $odd -= 9;
  84. }
  85. $sum += $odd;
  86.  
  87. if( $pos != ($length - 2) ) {
  88.  
  89. $sum += $reversedCCnumber[ $pos +1 ];
  90. }
  91. $pos += 2;
  92. }
  93.  
  94. # Calculate check digit
  95. $checkdigit = (( floor($sum/10) + 1) * 10 - $sum) % 10;
  96. $ccnumber .= $checkdigit;
  97. return $ccnumber;
  98. }
  99. protected function Extrap ($bin)
  100. {
  101. if (preg_match_all("#x#si", $bin))
  102. {
  103. $ccNumber = $bin;
  104. while (strlen($ccNumber) < (16 - 1)) {
  105. $ccNumber .= rand(0,9);
  106. }
  107. $ccNumber = str_split($ccNumber);
  108. $replace = "";
  109. foreach ($ccNumber as $cc => $key) {
  110. $replace .= str_replace("x", rand(0,9), $key);
  111. }
  112. $Complete = $this->Calculate($replace, 16);
  113. }
  114. else
  115. {
  116. $ccNumber = $bin;
  117. while (strlen($ccNumber) < (16 - 1)) {
  118. $ccNumber .= rand(0,9);
  119. }
  120. $Complete = $this->Calculate($ccNumber, 16);
  121. }
  122. return $Complete.$this->generateYears();
  123. }
  124. protected function Save ($title, $text)
  125. {
  126. $fopen = fopen($title, "a");
  127. fwrite($fopen, $text);
  128. fclose($fopen);
  129. }
  130. protected function Check($card)
  131. {
  132. $headers = array();
  133. $headers[] = 'Origin: http://elry2cc.com';
  134. $headers[] = 'Accept-Language: en-US,en;q=0.9';
  135. $headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36';
  136. $headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8';
  137. $headers[] = 'Accept: */*';
  138. $headers[] = 'Referer: http://elry2cc.com/ElrY2_Checker/';
  139. $headers[] = 'X-Requested-With: XMLHttpRequest';
  140. $headers[] = 'Connection: keep-alive';
  141. $ch = curl_init();
  142. $options = array(
  143. CURLOPT_URL => "http://elry2cc.com/ElrY2_Checker/api.php",
  144. CURLOPT_RETURNTRANSFER => true,
  145. CURLOPT_POST => true,
  146. CURLOPT_POSTFIELDS => "data=".urlencode($card),
  147. CURLOPT_HTTPHEADER => $headers
  148. );
  149. curl_setopt_array($ch, $options);
  150. $exec = curl_exec($ch);
  151. $status = json_decode($exec);
  152. switch($status->error)
  153. {
  154. case '2':
  155. return $card.$this->color("red", " [ DIE ]");
  156. break;
  157. case '3':
  158. return $card.$this->color("grey", " [ UNKNOWN ]");
  159. break;
  160. case '4':
  161. return $card.$this->color("yellow", " [ CC NOT VALID ]");
  162. break;
  163. case '1':
  164. $this->Save("Result-".$this->bin.".list", $card."\n");
  165. return $card.$this->color("green", " [ LIVE ]");
  166. break;
  167. }
  168. }
  169. }
  170. echo ">> BIN : "; $bin = trim(fgets(STDIN));
  171. echo ">> Check ? 1/0 : "; $check = trim(fgets(STDIN));
  172. echo ">> Amount : "; $amount = trim(fgets(STDIN));
  173. $new = new CC($bin, $check, $amount);
  174. echo $new->Execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement