But can the attacker?
Why not? If the attacker can run ./foo, s/he can almost certainly also run /usr/bin/perl /tmp/foo. Actually, it's more than likely that someone uploading something to /tmp (which can be expected to be mounted noexec) would try this in the first place...
In reply to Re^6: perl pre-execution hook
by Anonyrnous Monk
in thread perl pre-execution hook
by logix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |