mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix for using --banner --stacked-test together
This commit is contained in:
@@ -82,6 +82,9 @@ class Enumeration:
|
|||||||
kb.data.banner = inject.getValue(query)
|
kb.data.banner = inject.getValue(query)
|
||||||
bannerParser(kb.data.banner)
|
bannerParser(kb.data.banner)
|
||||||
|
|
||||||
|
kb.bannerFp["dbmsVersion"] = kb.data.banner
|
||||||
|
kb.bannerFp["dbmsVersion"] = kb.bannerFp["dbmsVersion"].replace(",", "").replace("-", "").replace(" ", "")
|
||||||
|
|
||||||
if conf.os and conf.os == "windows":
|
if conf.os and conf.os == "windows":
|
||||||
kb.bannerFp["type"] = set([ "Windows" ])
|
kb.bannerFp["type"] = set([ "Windows" ])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user