2024年6月4日发(作者:)

33 黑客瑞士军刀NC使用教程

【简 介】

NC这个黑客必备的武器,被称为”瑞士军刀”可见功能之强大.对比win2000

微软的和微软的服务,连接的时候就可以看出来了.

######################################################################

1. 写在前面的话

######################################################################

NC这个黑客必备的武器,被称为”瑞士军刀”可见功能之强大.

对比win2000微软的和微软的服务,连接的时候就可以看出来了.

1.1 是一个非标准的telnet客户端程序,

1.2 还有一个客户端程序,提供四种连接模式

-raw -telnet -rlogin -ssh.

虽然现在也新出了GUI版的中文“NC”,但是相比起来还是这个好用。

######################################################################

2. Netcat 1.10 for NT 帮助信息

######################################################################

C:WINDOWSDesktop>nc -h

[v1.10 NT]

connect to somewhere: nc [-options] hostname port[s] [ports] ...

listen for inbound: nc -l -p port [options] [hostname] [port]

options:

1 / 6

-d detach from console, background mode (后台模式)

-e prog inbound program to exec [dangerous!!]

-g gateway source-routing hop point[s], up to 8

-G num source-routing pointer: 4, 8, 12, ...

-h this cruft (本帮助信息)

-i secs delay interval for lines sent, ports scanned (延迟时间)

-l listen mode, for inbound connects (监听模式,等待连接)

-L listen harder, re-listen on socket close (连接关闭后,仍然继续监听)

-n numeric-only IP addresses, no DNS (ip数字模式,非dns解析)

-o file hex dump of traffic (十六进制模式输出文件,三段)

-p port local port number (本地端口)

-r randomize local and remote ports (随机本地远程端口)

-s addr local source address (本地源地址)

-t answer TELNET negotiation

-u UDP mode

-v verbose [use twice to be more verbose] (-vv 更多信息)

-w secs timeout for connects and final net reads

-z zero-I/O mode [used for scanning] (扫描模式,-vv)

port numbers can be individual or ranges: m-n [inclusive]

######################################################################

3. Netcat 1.10 常用的命令格式

######################################################################

3.1.端口的刺探:

2 / 6