Nmap Development mailing list archives

Add "TeamQuest" probe to "nmap-service-probes"


From: "NUEL Guillaume" <gnuel () nes fr>
Date: Fri, 2 Sep 2016 10:26:06 +0200

Hello,

TeamQuest is a WebApp that is generally on Apache Server.
Here the NSE script modification ( nselib/data/http-fingerprints.lua )

diff --git a/http-fingerprints.lua b/http-fingerprints.lua index 87801fd..40d5949 100644
--- a/http-fingerprints.lua
+++ b/http-fingerprints.lua
@@ -12002,6 +12002,26 @@ table.insert(fingerprints, {
     },
   });

+-- TeamQuest^M
+table.insert(fingerprints, {^M
+    category = 'general',^M
+    probes = {^M
+      {^M
+        path = '/teamquest/cgi-bin/home',^M
+        method = 'HEAD'^M
+      },^M
+      {^M
+        path = '/teamquest/cgi-bin/login',^M
+        method = 'HEAD'^M
+      },^M
+    },^M
+    matches = {^M
+      {^M
+        match = '',^M
+        output = 'TeamQuest'^M
+      },^M
+    },^M
+  });^M

 local stdnse = require "stdnse"



Question: If I make a pull request on the github mirror (nmap/nmap), will you take it ?

Bye
NUEL Guillaume


-----Message d'origine-----
De : David Fifield [mailto:david () bamsoftware com] Envoyé : mercredi 31 août 2016 19:11 À : NUEL Guillaume <gnuel () 
nes fr> Cc : dev () nmap org Objet : Re: Add "TeamQuest" probe to "nmap-service-probes"

On Wed, Aug 31, 2016 at 02:26:51PM +0200, NUEL Guillaume wrote:
I would like to add this line in the “nmap-service-probes” file:

match http m|^HTTP/1\.[01][\t ]+302
Found\r\n.*Location:[^\r\n]*/teamquest/|s p/Apache HTTP TeamQuest/ 
cpe:/a:apache:http_server/

Is TeamQuest the name of the server software, or is it a web application running on Apache? It might be more approprate 
to add this check to the http-enum script, for example, if it's a web application.

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: