nmap-7.94.tar
时间: 2024-05-30 18:06:50 浏览: 223
nmap是一款网络探测和安全审核工具。从官网下载nmap-7.94.tar源代码包后,可以按以下步骤进行编译和安装:
1. 解压源代码包
```shell
tar zxvf nmap-7.94.tar.gz
```
2. 进入解压目录
```shell
cd nmap-7.94
```
3. 配置环境
```shell
./configure
```
如果想要启用一些高级功能,可以使用以下命令:
```shell
./configure --with-zenmap --with-ncat --with-openssl=/usr/local/openssl
```
其中,--with-zenmap指定安装Zenmap,--with-ncat指定安装ncat,--with-openssl指定使用指定路径下的openssl库。
4. 编译
```shell
make
```
5. 安装
```shell
make install
```
6. 确认安装是否成功
```shell
nmap --version
```
如果成功安装,会输出nmap的版本信息。
相关问题
nmap -v scanme.nmap.org 扫描与 nmap -vv scanme.nmap.org 扫描的区别是什么
根据提供的引用[1],nmap是一款网络探测和安全审计工具。使用-v选项可以增加扫描的详细程度,使用-vv选项可以进一步增加详细程度。因此,nmap -v scanme.nmap.org扫描的详细程度比nmap -vv scanme.nmap.org扫描的详细程度要少。
下面是两个命令的示例:
1. nmap -v scanme.nmap.org扫描的输出示例:
```shell
Starting Nmap 7.80 ( https://nmap.org ) at 2021-08-17 09:30 PDT
Initiating Ping Scan at 09:30
Scanning scanme.nmap.org (45.33.32.156) [2 ports]
Completed Ping Scan at 09:30, 0.00s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 09:30
Completed Parallel DNS resolution of 1 host. at 09:30, 0.02s elapsed
Initiating Connect Scan at 09:30
Scanning scanme.nmap.org (45.33.32.156) [1000 ports]
Discovered open port 80/tcp on 45.33.32.156
Discovered open port 22/tcp on 45.33.32.156
Completed Connect Scan at 09:30, 0.11s elapsed (1000 total ports)
Nmap scan report for scanme.nmap.org (45.33.32.156)
Host is up (0.11s latency).
Other addresses for scanme.nmap.org (not scanned): 2600:3c03::f03c:91ff:fe18:bb2f
Not shown: 998 filtered ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.18 seconds
```
2. nmap -vv scanme.nmap.org扫描的输出示例:
```shell
Starting Nmap 7.80 ( https://nmap.org ) at 2021-08-17 09:31 PDT
Initiating Ping Scan at 09:31
Scanning scanme.nmap.org (45.33.32.156) [2 ports]
Packet capture filter (device eth0): icmp and ((ip[20:2] - ip[16:2]) - ((ip[0]&0xf)<<2)) != 0
Completed Ping Scan at 09:31, 0.00s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 09:31
Completed Parallel DNS resolution of 1 host. at 09:31, 0.02s elapsed
Initiating Connect Scan at 09:31
Scanning scanme.nmap.org (45.33.32.156) [1000 ports]
Discovered open port 80/tcp on 45.33.32.156
Discovered open port 22/tcp on 45.33.32.156
Completed Connect Scan at 09:31, 0.11s elapsed (1000 total ports)
Nmap scan report for scanme.nmap.org (45.33.32.156)
Host is up, received syn-ack (0.11s latency).
Other addresses for scanme.nmap.org (not scanned): 2600:3c03::f03c:91ff:fe18:bb2f
Not shown: 998 filtered ports
Reason: 998 no-responses and 2 host-prohibited
PORT STATE SERVICE REASON
22/tcp open ssh syn-ack ttl 56
80/tcp open http syn-ack ttl 56
Read data files from: /usr/bin/../share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.18 seconds
```
nmap -v scanme.nmap.org 扫描与 nmap -vv scanme.nmap.org 扫描的区别是什么?
根据提供的引用[1],nmap是一款网络探测和安全审核工具。它可以用来扫描网络主机,确定哪些主机在运行,哪些服务在运行以及哪些防火墙在运行。nmap还可以确定主机的操作系统和应用程序版本等信息。
根据提供的引用,nmap的-v选项可以增加扫描的详细程度,而-vv选项则可以进一步增加详细程度。因此,nmap -v scanme.nmap.org扫描的详细程度比nmap -vv scanme.nmap.org扫描的详细程度要低。
阅读全文
相关推荐













