Last active
December 10, 2016 04:46
-
-
Save trepmal/d089ae44585da20cbed308f8865e2b82 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
echo "mua hahah" | |
exit | |
[3A | |
# Uses an escape sequence to move the cursor up. | |
# So if you `cat` this file, it will hide the "bad" part | |
# But if you execute the file, the "bad" will be done. | |
# Try `cat -v` to expose the escape characters. | |
echo "gooooood file" | |
# http://www.openwall.com/lists/oss-security/2015/09/17/5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: GitHub doesn't display the full escape sequence, but it's there if you download it