1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-08 15:39:05 +00:00

Implement Evil bit option in Nping. Fixes #2486

This commit is contained in:
nnposter
2022-06-27 02:38:51 +00:00
parent b8d3d9cff2
commit d00a80d398
6 changed files with 59 additions and 3 deletions

View File

@@ -1983,7 +1983,6 @@ SENT (4.0330s) TCP 192.168.0.21 > 3.3.3.3:139
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--tos <replaceable>tos</replaceable></option> (Type of Service)
@@ -2018,7 +2017,6 @@ SENT (4.0330s) TCP 192.168.0.21 &gt; 3.3.3.3:139
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--df</option> (Don't Fragment)
@@ -2036,7 +2034,6 @@ SENT (4.0330s) TCP 192.168.0.21 &gt; 3.3.3.3:139
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--mf</option> (More Fragments)
@@ -2053,6 +2050,24 @@ SENT (4.0330s) TCP 192.168.0.21 &gt; 3.3.3.3:139
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--evil</option> (Reserved / Evil)
<indexterm significance="preferred"><primary><option>--evil</option> (Nping option)</primary></indexterm>
</term>
<listitem>
<para>
Sets the Reserved / Evil bit in sent packets. The Evil flag
helps firewalls and other network security systems to distinguish
between datagram that have malicious intent and those that are
merely unusual. When set, it indicates that the datagram has evil
intent, instructing insecure systems to succumb. Setting it to zero
indicates no evil intent. The option is implied if environmental
variable SCRIPT_KIDDIE is set to a non-zero value.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>--ttl <replaceable>hops</replaceable></option> (Time To Live)

View File

@@ -53,6 +53,7 @@ IPv4 OPTIONS:
--id <id> : Set identification field (16 bits).
--df : Set Don't Fragment flag.
--mf : Set More Fragments flag.
--evil : Set Reserved / Evil flag.
--ttl <hops> : Set time to live [0-255].
--badsum-ip : Use a random invalid checksum.
--ip-options <S|R [route]|L [route]|T|U ...> : Set IP options