Python

Posted on sam. 24 novembre 2018 in Programmation • Tagged with langage, dev, python

Python est un langage de programmation objet, multi-paradigme et multiplateformes. Il favorise la programmation impérative structurée, fonctionnelle et orientée objet. Il est doté d'un typage dynamique fort, d'une gestion automatique de la mémoire par ramasse-miettes et d'un système de gestion d'exceptions ; il est ainsi similaire à Perl, Ruby, Scheme, Smalltalk …


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