From df99409651f4f939bde1aa2fb63bc2a6911f9c43 Mon Sep 17 00:00:00 2001 From: bmenrigh Date: Thu, 30 Sep 2010 23:14:57 +0000 Subject: [PATCH] The dominoconsole match is too general and can match things that it shouldn't. Also, because of the use of ([...]*), captures can be too long to fill into the template. This change forces hostname and domain name to be non-empty. This match should be made more specific but without example content any changes would involve guessing. --- nmap-service-probes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap-service-probes b/nmap-service-probes index 7870b1bf5..0b0527b41 100644 --- a/nmap-service-probes +++ b/nmap-service-probes @@ -9061,7 +9061,7 @@ Probe TCP dominoconsole q|\#ST\n| rarity 8 sslports 2050 -match dominoconsole m|^([^/]*)/([^:]*):([^:]*):([^:]*):| p/Lotus Domino Console/ o/$3/ h/$2/ i/domain: $1; description: "$4"/ +match dominoconsole m|^([^/]+)/([^:]+):([^:]*):([^:]*):| p/Lotus Domino Console/ o/$3/ h/$2/ i/domain: $1; description: "$4"/ ##############################NEXT PROBE############################## # Informix probe