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:
|
if not conf.getBanner:
|
||||||
return
|
return
|
||||||
|
|
||||||
kb.dbmsDetected = True
|
|
||||||
|
|
||||||
infoMsg = "fetching banner"
|
|
||||||
logger.info(infoMsg)
|
|
||||||
|
|
||||||
if kb.data.banner is None:
|
if kb.data.banner is None:
|
||||||
|
kb.dbmsDetected = True
|
||||||
|
|
||||||
|
infoMsg = "fetching banner"
|
||||||
|
logger.info(infoMsg)
|
||||||
|
|
||||||
if conf.unionTest:
|
if conf.unionTest:
|
||||||
conf.dumper.technic("inband injection payload", unionTest())
|
conf.dumper.technic("inband injection payload", unionTest())
|
||||||
|
|
||||||
|
@ -92,16 +92,16 @@ class Enumeration:
|
||||||
kb.data.banner = inject.getValue(query)
|
kb.data.banner = inject.getValue(query)
|
||||||
bannerParser(kb.data.banner)
|
bannerParser(kb.data.banner)
|
||||||
|
|
||||||
if conf.os and conf.os == "windows":
|
if conf.os and conf.os == "windows":
|
||||||
kb.bannerFp["type"] = set([ "Windows" ])
|
kb.bannerFp["type"] = set([ "Windows" ])
|
||||||
|
|
||||||
elif conf.os and conf.os == "linux":
|
elif conf.os and conf.os == "linux":
|
||||||
kb.bannerFp["type"] = set([ "Linux" ])
|
kb.bannerFp["type"] = set([ "Linux" ])
|
||||||
|
|
||||||
elif conf.os:
|
elif conf.os:
|
||||||
kb.bannerFp["type"] = set([ "%s%s" % (conf.os[0].upper(), conf.os[1:]) ])
|
kb.bannerFp["type"] = set([ "%s%s" % (conf.os[0].upper(), conf.os[1:]) ])
|
||||||
|
|
||||||
setOs()
|
setOs()
|
||||||
|
|
||||||
return kb.data.banner
|
return kb.data.banner
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user