Skip to content

Instantly share code, notes, and snippets.

@Techbrunch
Created April 3, 2020 18:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Techbrunch/56415c360daf4d039975267586c45d8c to your computer and use it in GitHub Desktop.
Save Techbrunch/56415c360daf4d039975267586c45d8c to your computer and use it in GitHub Desktop.
Adding magic bytes at the beginning of a file
# The magic bytes for PNG
echo '89 50 4E 47 0D 0A 1A 0A' | xxd -p -r >> reverse.php.png
cat reverse.php >> reverse.php.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment