Welcome to the Monastery | |
PerlMonks |
Re: exiting a chroot environmentby Anarion (Hermit) |
on Jul 08, 2003 at 08:48 UTC ( [id://272224]=note: print w/replies, xml ) | Need Help?? |
Breakin a chroot enviroment if you are root is trivial, you can: - chroot to another directory and then chdir .. because chroot doesn't change your current work dir. - use a descritor to outside of chroot an call fchdir - modify sys_call_table - call mknod and mount - use ptrace and sure there are more ... By now, chroot without kernel patches doesn't mean security at all. $anarion=\$anarion; s==q^QBY_^=,$_^=$[x7,print
In Section
Seekers of Perl Wisdom
|
|