-
Notifications
You must be signed in to change notification settings - Fork 14
/
api.php
110 lines (94 loc) · 4.15 KB
/
api.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
//Author By Zlaxtert
error_reporting(0);
ini_set('display_errors', 0);
/*===[Setup]=====================*/
$sk = $_GET['sk'];
/*===[SK]========================*/
if($sk == ""){
exit();
}
/*===[CC Info Randomizer]=================*/
$cc_info_arr[] = "4427323412042742|11|2022|778";
$cc_info_arr[] = "4427323412047246|03|2025|056";
$cc_info_arr[] = "4427325078084744|11|2023|720";
$cc_info_arr[] = "4427323412486766|08|2024|555";
$cc_info_arr[] = "4427323412172176|08|2022|776";
$cc_info_arr[] = "4867320147781682|05|2022|237";
$cc_info_arr[] = "4427323412680368|07|2025|788";
$cc_info_arr[] = "4427323412367842|01|2025|124";
$cc_info_arr[] = "4427325012730451|04|2025|227";
$cc_info_arr[] = "4427325662058237|09|2023|708";
$n = rand(0,9);
$cc_info = $cc_info_arr[$n];
/*===[Variable Setup]=========================================*/
$i = explode("|", $cc_info);
$cc = $i[0];
$mm = $i[1];
$yyyy = $i[2];
$yy = substr($yyyy, 2, 4);
$cvv = $i[3];
$bin = substr($cc, 0, 8);
$last4 = substr($cc, 12, 16);
$email = urlencode(emailGenerate());
$m = ltrim($mm, "0");
/*===[ Auth 1 ]==============*/
/* One */
$ch1 = curl_init();
curl_setopt($ch1, CURLOPT_URL, 'https://api.stripe.com/v1/tokens');
curl_setopt($ch1, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch1, CURLOPT_POSTFIELDS, "card[number]=$cc&card[exp_month]=$mm&card[exp_year]=$yyyy&card[cvc]=$cvv");
curl_setopt($ch1, CURLOPT_USERPWD, $sk. ':' . '');
$headers = array();
$headers[] = 'Content-Type: application/x-www-form-urlencoded';
curl_setopt($ch1, CURLOPT_HTTPHEADER, $headers);
$curl1 = curl_exec($ch1);
curl_close($ch1);
/* One Response */
$res1 = json_decode($curl1, true);
if(isset($res1['id'])){
/* Two */
$ch2 = curl_init();
curl_setopt($ch2, CURLOPT_URL, 'https://api.stripe.com/v1/customers');
curl_setopt($ch2, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch2, CURLOPT_POST, 1);
curl_setopt($ch2, CURLOPT_POSTFIELDS, "email=$email&description=Tikol4Life&source=".$res1["id"]);
curl_setopt($ch2, CURLOPT_USERPWD, $sk . ':' . '');
$headers = array();
$headers[] = 'Content-Type: application/x-www-form-urlencoded';
curl_setopt($ch2, CURLOPT_HTTPHEADER, $headers);
$curl2 = curl_exec($ch2);
curl_close($ch2);
/* Two Response */
$res2 = json_decode($curl2, true);
$cus = $res2['id'];
}
/*===[Response]=======================*/
if(isset($res1['error'])){
if (isset($res1['error']['type'])&&$res1['error']['type'] == 'invalid_request_error') {
echo '* <span class="label label-danger">DEAD </span> * <span class="label label-warning">./BlackNetID </span> * <span class="label label-primary"> Your Secret Key Is Dead</span> * <span class="label label-info">'.$sk.'</span> *';
}else{
echo '* <span class="label label-success">LIVE </span> * <span class="label label-info">./BlackNetID </span> * <span class="label label-warning"> Your Secret Key Is Active</span> * <span class="label label-primary">'.$sk.'</span> *';
}
}else{
if(isset($res2['error'])){
if (isset($res2['error']['type'])&&$res2['error']['type'] == "invalid_request_error") {
echo '* <span class="label label-danger">DEAD </span> * <span class="label label-primary"> Your Secret Key Is Dead</span> * <span class="label label-info">'.$sk.'</span> *';
}else{
echo '* <span class="label label-success">LIVE </span> * <span class="label label-info">./BlackNetID </span> * <span class="label label-warning"> Your Secret Key Is Active</span> * <span class="label label-primary">'.$sk.'</span> *';
}
}else{
echo '* <span class="label label-success">LIVE </span> * <span class="label label-info">./BlackNetID </span> * <span class="label label-warning"> Your Secret Key Is Active</span> * <span class="label label-primary">'.$sk.'</span> *';
}
}
/*===[PHP Functions]==========================================*/
function emailGenerate($length = 10) {
$characters = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$charactersLength = strlen($characters);
$randomString = '';
for ($i = 0; $i < $length; $i++) {
$randomString .= $characters[rand(0, $charactersLength - 1)];
}
return $randomString.'@yahoo.com';
}
?>