Last active
October 12, 2017 18:41
-
-
Save sstelfox/dde9cdfe293fdf9c690f4e75a5753959 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
✓ ~/ $ echo -ne '\x7f\x45\x4c\x46\x02\x01\x01\x03\x00' > test | |
✓ ~/ $ chmod +x test | |
✓ ~/ $ ./test | |
-bash: ./test: cannot execute binary file: Exec format error |
This file contains hidden or 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
✓ [sstelfox@rippled-summer-waterfall] ~/ $ ls test | |
ls: cannot access 'test': No such file or directory | |
✓ [sstelfox@rippled-summer-waterfall] ~/ $ touch test | |
✓ [sstelfox@rippled-summer-waterfall] ~/ $ chmod +x test | |
✓ [sstelfox@rippled-summer-waterfall] ~/ $ ./test | |
✓ [sstelfox@rippled-summer-waterfall] ~/ $ echo $? | |
0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment