1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-20 21:29:06 +00:00

add a task for improving how the host.os field is organized -- we don't want to mix human readible names, classifications, and CPE entries into a single list of strings

This commit is contained in:
fyodor
2012-03-08 23:13:07 +00:00
parent 24d8b585b2
commit 0b887548bc

View File

@@ -14,6 +14,19 @@ o Make the release
==Things needed for next STABLE release go ABOVE THIS LINE==
o [NSE] host.os should not just be a list of strings which can contain
human-readible strings and/or CPE info. It should probably be list
of host.os tables which can contain:
host.os[].name <-- human readible name
host.os[].class[].vendor
host.os[].class[].osfamily
host.os[].class[].osgen
host.os[].class[].devicetype
host.os[].class[].cpe[] <-- array of cpe:/ strings
So host.os[1].class[1].cpe[1] is the first CPE entry for the first
classification of the first OS match for the target system.
The host.os entry docs/scripting.xml would have to be updated too.
o [NPING] Nping should probably give you an error or warning when you
do: "nmap -p80 google.com" since it is ignoring the port specifier.
The user probably wants to add --tcp.