mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Major bug fix to properly prepare UNION technique statement for --os-pwn and --is-dba
This commit is contained in:
@@ -142,7 +142,7 @@ class Enumeration:
|
||||
query = queries[Backend.getIdentifiedDbms()].is_dba.query
|
||||
|
||||
query = agent.forgeCaseStatement(query)
|
||||
isDba = inject.getValue(query, unpack=False, charsetType=1)
|
||||
isDba = inject.getValue(query, charsetType=1)
|
||||
|
||||
if user is None:
|
||||
kb.data.isDba = isDba
|
||||
|
||||
@@ -74,7 +74,7 @@ class Miscellaneous:
|
||||
if conf.direct:
|
||||
query = "SELECT %s" % query
|
||||
|
||||
kb.bannerFp["dbmsVersion"] = inject.getValue(query, unpack=False)
|
||||
kb.bannerFp["dbmsVersion"] = inject.getValue(query)
|
||||
kb.bannerFp["dbmsVersion"] = kb.bannerFp["dbmsVersion"].replace(",", "").replace("-", "").replace(" ", "")
|
||||
|
||||
def delRemoteFile(self, tempFile):
|
||||
|
||||
Reference in New Issue
Block a user