netcat Switches Flashcards
1
Q
nc -l
A
Listen mode
2
Q
nc -u
A
UDP port
3
Q
nc -p
A
TCP port
4
Q
nc -e
A
program to execute
5
Q
nc -n
A
no dns lookups
6
Q
nc -wN
A
wait for n seconds for the connection to happen. quit if it doesn’t
7
Q
nc -z
A
zero i/o mode
8
Q
netcat ping scan
A
nc -v -n -z -w1 {targetIP] {startport]-[endport]
9
Q
nc -r
A
randomize (used with a port range)
10
Q
nc -v
A
verbose (-vv for windows)
11
Q
nc -L
A
listen harder (windows only). starts listeneing avgain after client disconnect