You are not logged in.
when I try to setup normal net cat listener via this command
nc -lvnp 87it gives this error msg
Error: Couldn't setup listening socket (err=-3)
when i use port 1234 or run it as sudo it just hangs with no response
Offline
To listen on ports below 1024, the process must be run as root or have CAP_NET_BIND_SERVICE capability.
Last edited by mpan (2023-04-18 03:07:33)
Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
when i use port 1234 or run it as sudo it just hangs with no response
… or maybe, just maybe, it's listening on the port… ![]()
Online
To listen on ports below 1024, the process must be run as root or have CAP_NET_BIND_SERVICE capability.
when i run it with root it just appears like this:
and i am sure no other service is listening to this port
Last edited by Sora0 (2023-04-18 20:55:25)
Offline
Do you understand what netcat is and does?
Open two terminals, in one run
netcat -lp 1234and in the other
echo snafu | netcat localhost 1234Online