4 ms·
I love it. I did something very similar but for command line escaping. I was frustrated that I couldn't escape all the things in bash (think: \0, brackets, unic
by majke 3y ago
I love it. I did something very similar but for command line escaping. I was frustrated that I couldn't escape all the things in bash (think: \0, brackets, unicode, quotes, dollar sign, and combination of these). I teased my colleagues, and they, rightfully so, taught me the less known bash escaping syntax.
Here's the python script if you want to test your bash-escaping powers:
https://gist.githubusercontent.com/majek/c65d1ef2686f00810c1acb3f816082a0/raw/59c65fd9accd064829f240c25dcd54b7f907685f/shellgame.py https://gist.githubusercontent.com/majek/c65d1ef2686f00810c1...
$ python3 shellgame.py
[ ] Received parameters: repr=[]
[+] Let's start the game!
Level 1: Run me with parameters: repr=['a']
- 082349872349872 3y agounvis(1) has been useful since last century for avoiding needing to know how to escape all the things...