diff --git a/docs/scripting.xml b/docs/scripting.xml
index 4f7b1a961..7eb59aa9a 100644
--- a/docs/scripting.xml
+++ b/docs/scripting.xml
@@ -1953,8 +1953,8 @@ host.os = {
Contains a string representation of the service running on
port.number as detected by the Nmap service
- detection. If the port.version field is
- nil, Nmap has guessed the service based
+ detection. If the port.version.service_dtype field is
+ "table", Nmap has guessed the service based
on the port number. Otherwise version detection was able to determine the listening service and this field is equal to
port.version.name.
@@ -2017,7 +2017,10 @@ host.os = {
name_confidence
- Evaluates how confident Nmap is about the accuracy of name, from 1 (least confident) to 10.
+ Evaluates how confident Nmap is about the accuracy of
+ name, from 1 (least confident) to 10. If
+ port.version.service_dtype is
+ "table", this is 3.
@@ -2038,6 +2041,15 @@ host.os = {
+
+ service_dtype
+ Contains the string "table" or
+ "probed" based on whether or not Nmap deduced
+ port.version.name from the
+ nmap-services file or from a service probe match.
+
+
+
cpe