mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor update
This commit is contained in:
parent
7e9e582eca
commit
980367b7b2
3 changed files with 4 additions and 7 deletions
|
|
@ -163,10 +163,7 @@ class Enumeration:
|
|||
query = queries[Backend.getIdentifiedDbms()].is_dba.query
|
||||
|
||||
query = agent.forgeCaseStatement(query)
|
||||
isDba = inject.getValue(query, charsetType=1)
|
||||
|
||||
if user is None:
|
||||
kb.data.isDba = unArrayizeValue(isDba)
|
||||
isDba = unArrayizeValue(inject.getValue(query, charsetType=1))
|
||||
|
||||
return isDba == "1"
|
||||
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ class Miscellaneous:
|
|||
query = "SELECT %s" % query
|
||||
|
||||
kb.bannerFp["dbmsVersion"] = inject.getValue(query)
|
||||
kb.bannerFp["dbmsVersion"] = kb.bannerFp["dbmsVersion"].replace(",", "").replace("-", "").replace(" ", "")
|
||||
kb.bannerFp["dbmsVersion"] = (kb.bannerFp["dbmsVersion"] or "").replace(",", "").replace("-", "").replace(" ", "")
|
||||
|
||||
def delRemoteFile(self, tempFile):
|
||||
self.checkDbmsOs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue