Advertisement
Kyfx

SHELL UPLOADING BYPASS FILE RESTRICTION USING TAMPER DATA

Mar 19th, 2015
847
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. SHELL UPLOADING BYPASS FILE RESTRICTION USING TAMPER DATA
  2.  
  3. Some websites don't allow uploading files other than images so in such a situation shell uploading is a problem because we can't upload any php or asp shell file.So we can upload shell by tempering HTTP headers.
  4. Requirements:
  5. Mozilla Firefox
  6. Tamper Data add-on
  7. Brain smile emoticon
  8. Temper Data: https://addons.mozilla.org/en-US/firefox/addon/tamper-data/
  9. Mozilla FireFox: http://www.mozilla.org/en-US/firefox/new/
  10. Open Website's Admin Panel
  11. Change Your Shell Extension to php.jpeg or php.jpg or php.gif
  12. Example :
  13. Shell.php.jpeg or shell.php.jpg or shell.php.gif
  14. Now open your Tamper Data And Click on Start Tampering..
  15. Now goto Upload section` and upload your Shell As shell.php.jpg
  16. Windows Will Pop-UP.
  17. --- Tamper - Submit - Abort REQUEST
  18. Click 0n Tamper
  19. At Your Right Side Copy All Text from POST DATA BOX
  20. Paste All text in notepad..
  21. Now Press CTRL + F, a search Text field will appear in your firefox browser's lower left.
  22. Search For Shell.php.jpg
  23. Edit Your Shell Extension to .php then copy it paste it on post data box And Click On Submit...
  24. Example :
  25. From shell.php.jpg to shell.php smile emoticon
  26. Congrats your shell has been uploaded succesfully.
  27. Now in image gallery where you have uploaded shell, u will see many images.Right click on your shell image
  28. and click on "copy image location". Now paste this url in your browser bar.Your shell will open up for U.
  29. Why do we need Tamper Data:
  30. Tamper Data is used to view / modify HTTP/HTTPS headers and post parameters.So with this adon we will trick web application that we are uploading image file i.e. jpg, gif, png etc. but when file will be transferring through HTTP headers, we will change its extension to shell.php and our shell will be uploaded.This is called HTTP headers tempering.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement