Bash Jails
Bash Jails
Enumeration
First enumerate the best you can:
Modify PATH
Check if you can modify the PATH env variable
Using vim
Create script
Check if you can create an executable file with /bin/bash as content
Get bash from SSH
If you are accessing via ssh you can use this trick to execute a bash shell:
Declare
Wget
You can overwrite for example sudoers file
Last updated