mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 11:22:05 +00:00
Added an entry to http-devframework-fingerprints that detects SPIP framework. Patch by Paul AMAR.
This commit is contained in:
parent
bf291fdc34
commit
a4a648a56b
1 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
},
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue