English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Linux nc command is used to set up the router.
Executing this command can set the relevant parameters of the router.
nc [-hlnruz]-g<gateway...>][-G<pointer number>][-i<delay seconds>][-o<output file>][-p<communication port>][-s<source address>][-v...][-w<timeout seconds>][host name][communication port...]
Parameter Description:
TCP Port Scan
# nc -v -z -w2 192.168.0.3 1-100 192.168.0.3: inverse host lookup failed: Unknown host (UNKNOWN) [192.168.0.3] 80 (http) open (UNKNOWN) [192.168.0.3] 23 (telnet) open (UNKNOWN) [192.168.0.3] 22 (ssh) open
Scan192.168.0.3 Port Range Is 1-100
Scan UDP Ports
# nc -u -z -w2 192.168.0.1 1-1000 //Scan192.168.0.3 Port Range Is 1-1000
Scan Specific Port
# nc -nvv 192.168.0.1 80 //Scan 80 Port (UNKNOWN) [192.168.0.1] 80 (?) open y //User Input