-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcli.php
153 lines (132 loc) · 4.56 KB
/
cli.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<?php
/* ======================
* CODE BY ZLAXTERT
* HASH CRACK V3.8
* API FROM BANDITCODING
* ======================
*/
date_default_timezone_set("Asia/Jakarta");
error_reporting(0);
ini_set("memory_limit", '-1');
define("OS", strtolower(PHP_OS));
$date = date("l, d-m-Y (H:m:s)");
//========> REQUIRE
require_once "xnxx/gangbang.php";
require_once "xnxx/threesome.php";
//========> BANNER
echo banner();
//========> GET FILE
enterlist:
echo "[+] Your file (example.txt) >> ";
$listname = trim(fgets(STDIN));
if(empty($listname) || !file_exists($listname)) {
echo PHP_EOL."[!] FILE NOT FOUND [!]".PHP_EOL;
goto enterlist;
}
$lists = array_unique(explode("\n",str_replace("\r","",file_get_contents($listname))));
//=========> THREADS
reqemail:
echo "[+] Threads (Max 30) >> ";
$reqemail = trim(fgets(STDIN));
$reqemail = (empty($reqemail) || !is_numeric($reqemail) || $reqemail <= 5) ? 30 : $reqemail;
if($reqemail > 30) {
echo PHP_EOL."[!] MAX 30 [!]".PHP_EOL;
goto reqemail;
}
//=========> COUNT
$s = 0;
$f = 0;
$t = 0;
$no = 0;
$total = count($lists);
echo "\n[!] TOTAL \e[32;1m$total \e[0mLISTS [!]\n\n";
//========> LOOPING
$rollingCurl = new \RollingCurl\RollingCurl();
foreach($lists as $list){
// GET API
include 'function/api.php';
// EXPLODE
if(strpos($list, "|") !== false) list($email, $pass) = explode("|", $list);
else if(strpos($list, ":") !== false) list($email, $pass) = explode(":", $list);
else $email = $list;
if(empty($email)) continue;
if($c%1000000==0) {
if(file_exists(dirname(__FILE__)."/cookies/md5.cook")) unlink(dirname(__FILE__)."/cookies/md5.cook");
}
$email = str_replace(" ", "", $email);
//CURL
$rollingCurl->setOptions(array(CURLOPT_RETURNTRANSFER => 1, CURLOPT_ENCODING => "gzip", CURLOPT_COOKIEJAR => dirname(__FILE__)."/cookies/md5.cook", CURLOPT_COOKIEFILE => dirname(__FILE__)."/cookies/md5.cook", CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_SSL_VERIFYHOST => 0, CURLOPT_IPRESOLVE => 1, CURL_IPRESOLVE_V4))->get($api);
}
//==========> ROLLING CURL
$rollingCurl->setCallback(function(\RollingCurl\Request $request, \RollingCurl\RollingCurl $rollingCurl) use (&$results) {
global $listname, $no, $total, $s, $f;
$no++;
parse_str(parse_url($request->getUrl(), PHP_URL_QUERY), $params);
$list = $params["list"];
$x = $request->getResponseText();
$js = json_decode($x, TRUE);
$result = $js['data']['result'];
echo " [\e[31;1m".$no."\e[0m/\e[32;1m".$total."\e[0m]\e[0m";
if(strpos($x, '"status":"success"')){
$s++;
save_file("result/success.txt","[+] SUCCESS | $result | [MD5 CRACK] | BY ./ZLAXTERT");
echo "\e[32;1m SUCCESS\e[0m |\e[34;1m $result \e[0m| ";
}elseif(strpos($x, "Request Timeout")){
$t++;
save_file("result/tryagain.txt","$list");
echo "\e[36;1m TIMEOUT \e[0m| ";
}elseif(strpos($x, "The server is temporarily busy, try again later!")){
$t++;
save_file("result/tryagain.txt","$list");
echo "\e[36;1m SERVER BUSSY \e[0m| ";
}else{
$f++;
save_file("result/failed.txt","$list");
echo "\e[31;1m FAILED \e[0m|\e[34;1m $list \e[0m| ";
}
echo "\e[33;1mBY \e[36;1m./ZLAXTERT \e[37;1mV.3.8\e[0m";
echo PHP_EOL;
})->setSimultaneousLimit((int) $reqemail)->execute();
//============> END
echo PHP_EOL;
echo "================[DONE]================".PHP_EOL;
echo " DATE : ".$date.PHP_EOL;
echo " SUCCESS : ".$s.PHP_EOL;
echo " FAILED : ".$f.PHP_EOL;
echo " TRY AGAIN : ".$t.PHP_EOL;
echo " TOTAL : ".$total.PHP_EOL;
echo "======================================".PHP_EOL;
echo "result saved in folder 'result'".PHP_EOL;
//============> FUNCTION
function save_file($name_file, $isi){
$click = fopen("$name_file","a");
fwrite($click,"$isi"."\n");
fclose($click);
}
function getStr($source, $start, $end) {
$a = explode($start, $source);
$b = explode($end, $a[1]);
return $b[0];
}
function curl($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
$x = curl_exec($ch);
curl_close($ch);
return $x;
}
function banner(){
$banner = "
\e[32;1mVERSION 3.8
\e[34;1m __ ______ ____\e[31;1m ________ ___ _______ __
\e[34;1m / |/ / _ \/ __/\e[31;1m / ___/ _ \/ _ |/ ___/ //_/
\e[34;1m / /|_/ / // /__ \ \e[31;1m / /__/ , _/ __ / /__/ ,<
\e[34;1m /_/ /_/____/____/ \e[31;1m \___/_/|_/_/ |_\___/_/|_|
\e[33;1m ZLAXTERT
\e[37;1m__________________________________________________\e[0m
";
return $banner;
}
?>