Package: netcat
Version: 1.10-32
Severity: normal

The "-c" option doesn't seem to work in outbound mode.

How to reproduce:

# netcat -l -p 44444 &
# netcat localhost 44444 -c cat
exec cat failed : No such file or directory

In contrast, it works in listen mode:

# netcat -l -p 44444 -c cat

Also, the "-e" option seems to work in both modes. It seems netcat
does an exec() instead of system() for the "-c" option in outbound
mode.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to