You must log in or register to comment.
Dear god, when combined with terminal2shell this can compromise every Unix-like system ever created.
$ echo "Access granted." Access granted.I already found another one!
echo $USERprints my current user name. Once I doUSER=rootit shows im running as root. And I wasn’t even asked for my sudo password! :O :O :OHuh. It is worth bearing in mind not to trust $USER before doing something based on it, though, if that thing is important.
The interesting thing is that bash allows writing this variable. I would’ve expected it to be readonly for obvious reasons.




