mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor fix
This commit is contained in:
parent
5015f04826
commit
a77b186aca
|
@ -79,12 +79,12 @@ class Enumeration:
|
|||
if not conf.getBanner:
|
||||
return
|
||||
|
||||
kb.dbmsDetected = True
|
||||
|
||||
infoMsg = "fetching banner"
|
||||
logger.info(infoMsg)
|
||||
|
||||
if kb.data.banner is None:
|
||||
kb.dbmsDetected = True
|
||||
|
||||
infoMsg = "fetching banner"
|
||||
logger.info(infoMsg)
|
||||
|
||||
if conf.unionTest:
|
||||
conf.dumper.technic("inband injection payload", unionTest())
|
||||
|
||||
|
@ -92,16 +92,16 @@ class Enumeration:
|
|||
kb.data.banner = inject.getValue(query)
|
||||
bannerParser(kb.data.banner)
|
||||
|
||||
if conf.os and conf.os == "windows":
|
||||
kb.bannerFp["type"] = set([ "Windows" ])
|
||||
if conf.os and conf.os == "windows":
|
||||
kb.bannerFp["type"] = set([ "Windows" ])
|
||||
|
||||
elif conf.os and conf.os == "linux":
|
||||
kb.bannerFp["type"] = set([ "Linux" ])
|
||||
elif conf.os and conf.os == "linux":
|
||||
kb.bannerFp["type"] = set([ "Linux" ])
|
||||
|
||||
elif conf.os:
|
||||
kb.bannerFp["type"] = set([ "%s%s" % (conf.os[0].upper(), conf.os[1:]) ])
|
||||
elif conf.os:
|
||||
kb.bannerFp["type"] = set([ "%s%s" % (conf.os[0].upper(), conf.os[1:]) ])
|
||||
|
||||
setOs()
|
||||
setOs()
|
||||
|
||||
return kb.data.banner
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user