nmap超时时间_Nmap时间和性能

本文介绍了nmap扫描时的性能优化,包括设置主机组计数、并行主机探针、探测超时、最大重试次数、最低和最大扫描速率,以及预设的扫描级别。这些选项有助于在扫描大型网络时调整性能,确保在时间有限的情况下高效完成任务。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

nmap超时时间

nmap超时时间

[rps-include post=6632]

[rps-include post = 6632]

Performance is important part of the scan. Nmap developers always looks for optimized and adjustable performance options. Adjustable scan performance is important because scanning big networks will require a lot of time to complete job. As a security analyzer or pentester time is important for us.

性能是扫描的重要部分。 Nmap开发人员始终在寻找优化和可调整的性能选项。 可调的扫描性能非常重要,因为扫描大型网络将需要大量时间才能完成工作。 作为安全分析器或五分之一时间,对于我们来说很重要。

设置主机组计数 (Set Host Group Count)

Nmap have the ability to scan multiple hosts in parallel. This is done by dividing target to the groups. With this option the group sizes can be defined.

Nmap可以并行扫描多个主机。 这是通过将目标划分为组来完成的。 使用此选项,可以定义组大小。

$ nmap --min-hostgroup 128 192.168.122.0/24
Set Host Group Count
Set Host Group Count
设置主机组计数

并行主机探针(Parallel Host Probe)

As we see previous chapters probes works after general scan. As it specified in scan probes can be done in parallel and the limit of the parallel probes can be defined like below.

正如我们看到的前几章所述,探针在常规扫描后才起作用。 如扫描探针中指定的那样,可以并行完成,并且可以如下定义并行探针的极限。

$ nmap --min-parallelism 64 192.168.122.0/24
Parallel Host Probe
Parallel Host Probe
并行主机探针

设置探测超时(Set Probe Timeout)

Probe operation will create some load in target hosts. Loaded target hosts can answer lately and timeout errors can be generated. This option gives the ability to set timeouts according to our situation.

探测操作将在目标主机上产生一些负载。 加载的目标主机最近可以回答,并且会生成超时错误。 此选项使您可以根据我们的情况设置超时时间。

$ nmap --host-timeout 1 192.168.122.0/24
Set Probe Timeout
Set Probe Timeout
设置探测超时

设置最大重试次数(Set Max Retries)

On the load systems will not give response and nmap try again the probe. We call this as retry. It can be set the count of retry for nmap.

在负载系统上不会给出响应,nmap会再次尝试探测。 我们称此为重试。 可以设置nmap的重试次数。

$ nmap --max-retries 1 192.168.122.0/24
Set Max Retries
Set Max Retries
设置最大重试次数

设定最低费用(Set Minimum Rate)

Nmap’s dynamic timing does a good job of finding an appropriate speed at which to scan. Sometimes, however, you may happen to know an appropriate scanning rate for a network. Here how can we specify rate

Nmap的动态定时可以很好地找到合适的扫描速度。 但是,有时您可能碰巧知道网络的适当扫描速率。 在这里我们如何指定汇率

$ nmap --min-rate 1000 192.168.122.0/24
Set Minimum Rate
Set Minimum Rate
设定最低费用

设置最大速率(Set Maximum Rate)

Same as above but sets maximum rate

与上述相同,但设置了最大速率

$ nmap --max-rate 1000 192.168.122.0/24

设定一般扫描率 (Set General Scan Rate)

Up to now we have looked various options for  optimization like re-transmission, rate etc. There are some pre-configured levels for nmap. These levels are between 1 and 5 . 1 is the slowest an called paranoid because detecting this scan with security gear is very hard. Here are levels

到目前为止,我们已经找到了各种优化选项,例如重传,速率等。nmap有一些预配置的级别。 这些级别在1到5之间。 1是最慢的被称为偏执狂,因为使用安全设备检测此扫描非常困难。 这是水平

  • paranoid 1

    偏执狂1

  • sneaky 2

    偷偷摸摸的2

  • polite 3 which is default profile

    礼貌3 ,这是默认配置文件

  • normal 4 

    普通4

  • insane 5

    疯了5

$ nmap -T 5 192.168.122.0/24
Set General Scan Rate
Set General Scan Rate
设定一般扫描率

[rps-include post=6632]

[rps-include post = 6632]

LEARN MORE  What Is /etc/hosts File and How To Create and Edit It?
了解更多什么是/ etc / hosts文件以及如何创建和编辑它?

翻译自: https://www.poftut.com/nmap-timing-performance/

nmap超时时间

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值