New answers tagged exploit
Aliases only live on the shell that defined them, and system starts a new shell. That shell won't read ~/.bashrc or other files where aliases are typically defined, either: only interactive shells do. Some shells, but not all, read another file, but there's a shell-independent way of exploiting this. Shell command lookup tries the following elements in this ...
Change ls to cat. ls lists directories, it doesn't display files. cat does that.
Top 50 recent answers are included