mirror of
https://github.com/nmap/nmap.git
synced 2025-12-30 11:29:01 +00:00
Normalize NSEDoc documentation of scripts.
I made every script follow a standard form: it starts with the id, followed by the description. The description is contained in [[ ]] delimiters. The description is in the global description variable, not in a LuaDoc comment. Other LuaDoc information such as @args and @usage follows the description in a comment. The first paragraph of each description is a a short summary of what the script does. More detailed information, if any, is given in following paragraphs. I also improved some wording and formatting in a few cases.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
id = "DNS source port randomness"
|
||||
|
||||
description = [[
|
||||
Queries porttest.dns-oarc.net to check for the predictable-port DNS recursion
|
||||
vulnerability. Predictable source ports can make a DNS server vulnerable to
|
||||
cache poisoning attacks (CVE-2008-1447)
|
||||
\n
|
||||
Checks a DNS server for the predictable-port recursion vulnerability.
|
||||
Predictable source ports can make a DNS server vulnerable to cache poisoning
|
||||
attacks (CVE-2008-1447).
|
||||
\n\n
|
||||
The script works by querying porttest.dns-oarc.net.
|
||||
Be aware that any targets against which this script is run will be sent to and
|
||||
potentially recorded by one or more DNS servers and the porttest server. In
|
||||
addition your IP address will be sent along with the porttest query to the DNS
|
||||
|
||||
Reference in New Issue
Block a user