mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
disabling safecharencode for --banner
This commit is contained in:
parent
3efd9e3959
commit
aed994192e
|
@ -98,7 +98,7 @@ class Enumeration:
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
query = queries[Backend.getIdentifiedDbms()].banner.query
|
query = queries[Backend.getIdentifiedDbms()].banner.query
|
||||||
kb.data.banner = unArrayizeValue(inject.getValue(query))
|
kb.data.banner = unArrayizeValue(inject.getValue(query, safeCharEncode=False))
|
||||||
bannerParser(kb.data.banner)
|
bannerParser(kb.data.banner)
|
||||||
|
|
||||||
if conf.os and conf.os == "windows":
|
if conf.os and conf.os == "windows":
|
||||||
|
@ -133,7 +133,7 @@ class Enumeration:
|
||||||
query = queries[Backend.getIdentifiedDbms()].current_db.query
|
query = queries[Backend.getIdentifiedDbms()].current_db.query
|
||||||
|
|
||||||
if not kb.data.currentDb:
|
if not kb.data.currentDb:
|
||||||
kb.data.currentDb = unArrayizeValue(inject.getValue(query))
|
kb.data.currentDb = unArrayizeValue(inject.getValue(query, safeCharEncode=False))
|
||||||
|
|
||||||
return kb.data.currentDb
|
return kb.data.currentDb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user