Hanno Böck
2010-10-19 18:17:57 UTC
# Open a file descriptor to the target binary (note: some users are
surprised # to learn exec can be used to manipulate the redirections of
the current # shell if a command is not specified. This is what is
happening below).
$ exec 3< /tmp/exploit/target
I tried to reproduce this on Gentoo and it fails at this point. It seems thesurprised # to learn exec can be used to manipulate the redirections of
the current # shell if a command is not specified. This is what is
happening below).
$ exec 3< /tmp/exploit/target
reason is that suid-binaries are not world-readable on Gentoo (on Debian they
are) - this seems to be a useful security measure.
--
Hanno Böck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: ***@hboeck.de
http://schokokeks.org - professional webhosting
Hanno Böck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: ***@hboeck.de
http://schokokeks.org - professional webhosting