├── .gitattributes
├── README.md
├── cc.class.php
└── run.php
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Auto detect text files and perform LF normalization
2 | * text=auto
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # CCEXTRAP (PHP)
2 | Script otomatis membuat beberapa Credit Card sesuai jumlah yang kita minta.
3 | Script ini juga otomatis check Live | Die | Unknow.
4 |
5 | # Install
6 | - apt update && apt upgrade
7 | - apt install php curl git
8 | - git clone https://github.com/kyo1337/CCEXTRAP
9 | - cd CCEXTRAP
10 | - php run.php
11 |
12 | # Video Tutorial :
13 |
14 |
15 | ## https://youtu.be/xYSrlY8WMY0
16 | # Note
17 | - https://linktr.ee/doko1554
18 |
19 | # ScreenShot
20 | 
21 |
--------------------------------------------------------------------------------
/cc.class.php:
--------------------------------------------------------------------------------
1 | bin = $bin;
11 | $this->check = $check;
12 | $this->jml = $jml;
13 | }
14 |
15 | private function color($color = "default", $text)
16 | {
17 | $arrayColor = array(
18 | 'grey' => '1;30',
19 | 'red' => '1;31',
20 | 'green' => '1;32',
21 | 'yellow' => '1;33',
22 | 'blue' => '1;34',
23 | 'purple' => '1;35',
24 | 'nevy' => '1;36',
25 | 'white' => '1;0',
26 | );
27 | return "\033[" . $arrayColor[$color] . "m" . $text . "\033[0m";
28 | }
29 | public function Execute()
30 | {
31 | echo "###############################################\n";
32 | echo "{~} Starting generation\n";
33 | echo "###############################################\n";
34 | sleep(5);
35 | if ($this->check < 1) {
36 | for ($i = 1; $i <= $this->jml; $i++) {
37 | echo $this->Extrap($this->bin) . "\n";
38 | sleep(1);
39 | }
40 | } else {
41 | for ($i = 1; $i <= $this->jml; $i++) {
42 | $card = $this->Extrap($this->bin);
43 | echo $this->Check($card) . "\n";
44 | sleep(1);
45 | }
46 | }
47 | }
48 |
49 | protected function generateYears()
50 | {
51 | $randMonth = rand(1, 12);
52 | $randYears = rand(20, 25);
53 | $randCvv = rand(010, 800);
54 | $randMonth < 10 ? $randMonth = "0" . $randMonth : $randMonth = $randMonth;
55 | $randCvv < 100 ? $randCvv = "0" . $randCvv : $randCvv = $randCvv;
56 | return "|" . $randMonth . "|20" . $randYears . "|" . $randCvv;
57 | }
58 | protected function Calculate($ccnumber, $length)
59 | {
60 | $sum = 0;
61 | $pos = 0;
62 | $reversedCCnumber = strrev($ccnumber);
63 |
64 | while ($pos < $length - 1) {
65 | $odd = $reversedCCnumber[$pos] * 2;
66 | if ($odd > 9) {
67 | $odd -= 9;
68 | }
69 | $sum += $odd;
70 |
71 | if ($pos != ($length - 2)) {
72 |
73 | $sum += $reversedCCnumber[$pos + 1];
74 | }
75 | $pos += 2;
76 | }
77 |
78 | # Calculate check digit
79 | $checkdigit = ((floor($sum / 10) + 1) * 10 - $sum) % 10;
80 | $ccnumber .= $checkdigit;
81 | return $ccnumber;
82 | }
83 | protected function Extrap($bin)
84 | {
85 | if (preg_match_all("#x#si", $bin)) {
86 | $ccNumber = $bin;
87 | while (strlen($ccNumber) < (16 - 1)) {
88 | $ccNumber .= rand(0, 9);
89 | }
90 | $ccNumber = str_split($ccNumber);
91 | $replace = "";
92 | foreach ($ccNumber as $cc => $key) {
93 | $replace .= str_replace("x", rand(0, 9), $key);
94 | }
95 | $Complete = $this->Calculate($replace, 16);
96 | } else {
97 | $ccNumber = $bin;
98 | while (strlen($ccNumber) < (16 - 1)) {
99 | $ccNumber .= rand(0, 9);
100 | }
101 | $Complete = $this->Calculate($ccNumber, 16);
102 | }
103 | return $Complete . $this->generateYears();
104 | }
105 | protected function Save($title, $text)
106 | {
107 | $fopen = fopen($title, "a");
108 | fwrite($fopen, $text);
109 | fclose($fopen);
110 | }
111 | protected function Check($card)
112 | {
113 | $headers = array();
114 | $headers[] = 'origin: https://amznloot.com';
115 | $headers[] = 'accept-language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7';
116 | $headers[] = 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36';
117 | $headers[] = 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8';
118 | $headers[] = 'Accept: */*';
119 | $headers[] = 'referer: https://amznloot.com/cc-checker/';
120 | $headers[] = 'X-Requested-With: XMLHttpRequest';
121 | $headers[] = 'Connection: keep-alive';
122 | $ch = curl_init();
123 | $options = array(
124 | CURLOPT_URL => "https://amznloot.com/cc-checker/api.php",
125 | CURLOPT_RETURNTRANSFER => true,
126 | CURLOPT_POST => true,
127 | CURLOPT_POSTFIELDS => "data=" . urlencode($card),
128 | CURLOPT_HTTPHEADER => $headers
129 | );
130 | curl_setopt_array($ch, $options);
131 | $exec = curl_exec($ch);
132 | $status = json_decode($exec);
133 | switch ($status->error) {
134 | case '2':
135 | return $card . $this->color("red", " [ DIE ]");
136 | break;
137 | case '3':
138 | return $card . $this->color("grey", " [ UNKNOWN ]");
139 | break;
140 | case '4':
141 | return $card . $this->color("yellow", " [ CC NOT VALID ]");
142 | break;
143 | case '1':
144 | // $this->Save("Result-".$this->bin.".list", $card."\n");
145 | return $card . $this->color("green", " [ LIVE ]");
146 | break;
147 | }
148 | }
149 | }
150 |
--------------------------------------------------------------------------------
/run.php:
--------------------------------------------------------------------------------
1 | Execute();
15 |
--------------------------------------------------------------------------------