|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Olaf Kirch (okir
caldera.de)Date: Thu Apr 25 2002 - 02:39:16 CDT
On Wed, Apr 24, 2002 at 11:12:05PM +0200, FozZy wrote:
> > You can't fix it. You can always do
> >
> > cp file-with-mode-444-perms ./foobar
> > chmod +x foobar
> > ./foobar
>
> Well, not "always". I used to be on a system where home partitions, /tmp,
> and any place where you can write something, were mounted as noexec.
I know. But there's always a way around noexec. On most architectures, you
could also just mimick the behavior of ld.so by dlopen()ing the binary
doing a dlsym("_main") and jumping there.
Olaf
-- Olaf Kirch | Anyone who has had to work with X.509 has probably okircaldera.de | experienced what can best be described as ------------------+ ISO water torture. -- Peter Gutmann
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]