mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
Minor bug fix
This commit is contained in:
parent
65a0a8d285
commit
eab331ebd7
|
@ -81,8 +81,8 @@ 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
|
if kb.data.banner:
|
||||||
kb.bannerFp["dbmsVersion"] = kb.bannerFp["dbmsVersion"].replace(",", "").replace("-", "").replace(" ", "")
|
kb.bannerFp["dbmsVersion"] = kb.data.banner.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" ])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user