1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Added an entry to http-devframework-fingerprints that detects SPIP framework. Patch by Paul AMAR.

This commit is contained in:
sophron
2014-03-02 17:38:57 +00:00
parent bf291fdc34
commit a4a648a56b

View File

@@ -361,4 +361,24 @@ tools = { Django = { rapidDetect = function(host, port)
return
end
},
SPIP = { rapidDetect = function(host, port)
local response = http.get(host, port, "/")
if response and response.status == 200 then
header_composed_by = response.header['composed-by']
-- Check in Composed-by header for the version
version = string.match(header_composed_by, ('SPIP ((%d+)%.(%d+)%.(%d+))'))
if version ~= nil then
return "Version of the SPIP install is " .. version
end
end
end,
consumingDetect = function(page, path)
return
end
},
}