Jail - Escape
Posted on ven. 03 décembre 2010 in Review • Tagged with hack, jail, python, bash, shell, espace, cheatsheet
https://www.exploit-db.com/docs/english/44592-linux-restricted-shell-bypass-guide.pdf https://d00mfist.gitbooks.io/ctf/escaping_restricted_shell.html
User 1
app-script-ch14@challenge02:~$ vim --cmd "set shell=/bin/bash" --cmd "shell"
User 2
app-script-ch14@challenge02:~$ echo $PATH /challenge/app-script/ch14/step1/ app-script-ch14@challenge02:~$ export PATH=/bin:/usr/bin app-script-ch14@challenge02:~$ id uid=1314(app-script-ch14 …
Continue reading