Sniffers, Session Hijacking, and Denial of Service

Trojans and Backdoors

Table FF.5. Common Netcat Switches

Netcat Switch

Purpose

nc -d

Used to detach Netcat from the console

nc -l -p [port]

Used to create a simple listening TCP port, adding u will place it into UDP mode

nc -e [program]

Used to redirect stdin/stdout from a program

nc -w [timeout]

Used to set a timeout before Netcat automatically quits

Program | nc

Used to pipe output of program to Netcat

nc | program

Used to pipe output of Netcat to program

nc -h

Used to display help options

nc -v

Used to put Netcat into verbose mode

nc -g or nc -G

Used to specify source routing flags

nc -t

Used for Telnet negotiation

nc -o [file]

Used to hex dump traffic to file

nc -z

Used for port scanning, no I/O i

Sniffers

Категории