Created
April 3, 2020 18:50
-
-
Save Techbrunch/56415c360daf4d039975267586c45d8c to your computer and use it in GitHub Desktop.
Adding magic bytes at the beginning of a file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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