Starting Point

Hey, I tried to get nc to listen on port 443, but I always get the same error
Can someone help me? I’m a beginner here.

Error Message: Can’t grab 0.0.0.0:10 with bind: Permission denied

I tried to use sudo as well.

nc -lvn 443?

Type your comment> @MrBear said:

nc -lvn 443?

Yes, nc -lvnp 443

nc options say -l cannot be used wit -p -s or -z. It didnt work for me when i put -lvnp. it worked when i put -lvn

Type your comment> @MrBear said:

nc options say -l cannot be used wit -p -s or -z. It didnt work for me when i put -lvnp. it worked when i put -lvn

Thanks mate, it worked

make sure its listening to 443. i think the instruction was a bit confusing as its written -lvnp 443 which does not work for me. Alternatively -nvlp 443 went through perfectly fine. Just tried it now and i got a shell

@MrBear said:
make sure its listening to 443. i think the instruction was a bit confusing as its written -lvnp 443 which does not work for me. Alternatively -nvlp 443 went through perfectly fine. Just tried it now and i got a shell

Well, it started listening, but, when I try to get the reverse shell, I get another error…

Are you listening to 443 or some random port. cancel that command and do nc -nvlp 443