ECW - TheMatrix

Posted on sam. 19 octobre 2019 in CTF • Tagged with hack, learn, ctf, forensic, writeup, miscellaneous, python, jail, pyjail, ecw

Le but d'une jail, c'est de s'en échapper et d'accéder au flag avec les seules fonctions, méthodes ou autres que nous avons à notre disposition. Cette jail est faite en Python3 et nous devons retrouver le flag avec les accès qu'elle nous laisse avoir.

ssh -p 10022 tete2soja@challenge-ecw.fr …

Continue reading

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