mirror of
https://github.com/nmap/nmap.git
synced 2025-12-11 02:09:03 +00:00
Added an entry to http-devframework-fingerprints that detects SPIP framework. Patch by Paul AMAR.
This commit is contained in:
@@ -361,4 +361,24 @@ tools = { Django = { rapidDetect = function(host, port)
|
|||||||
return
|
return
|
||||||
end
|
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
|
||||||
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user