nc
nc copied to clipboard
Incorrect -c command
Currently, nc -l -p 1234 -c cowsay Hello
runs /bin/sh cowsay Hello
.
It should be /bin/sh -c 'cowsay Hello'
.
thanks for catching it. PR are welcome
Currently, nc -l -p 1234 -c cowsay Hello
runs /bin/sh cowsay Hello
.
It should be /bin/sh -c 'cowsay Hello'
.
thanks for catching it. PR are welcome