mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
minor ms access update
This commit is contained in:
parent
5269cb8c08
commit
c98d8fed83
|
@ -20,7 +20,7 @@ class Enumeration(GenericEnumeration):
|
|||
logger.warn(warnMsg)
|
||||
|
||||
return []
|
||||
|
||||
|
||||
def getBanner(self):
|
||||
warnMsg = "on Microsoft Access it is not possible to get a banner"
|
||||
logger.warn(warnMsg)
|
||||
|
|
|
@ -67,7 +67,7 @@ class Fingerprint(GenericFingerprint):
|
|||
negate = True
|
||||
table = table[1:]
|
||||
randInt = randomInt()
|
||||
query = agent.prefixQuery("AND EXISTS(SELECT * FROM %s WHERE %d=%d) FROM %s" % (table, randInt, randInt, table))
|
||||
query = agent.prefixQuery("AND EXISTS(SELECT * FROM %s WHERE %d=%d)" % (table, randInt, randInt))
|
||||
query = agent.postfixQuery(query)
|
||||
payload = agent.payload(newValue=query)
|
||||
result = Request.queryPage(payload)
|
||||
|
@ -148,12 +148,12 @@ class Fingerprint(GenericFingerprint):
|
|||
return False
|
||||
|
||||
setDbms("Microsoft Access")
|
||||
|
||||
|
||||
if not conf.extensiveFp:
|
||||
return True
|
||||
|
||||
|
||||
kb.dbmsVersion = [self.__sysTablesCheck()]
|
||||
|
||||
|
||||
return True
|
||||
else:
|
||||
warnMsg = "the back-end DMBS is not Microsoft Access"
|
||||
|
|
Loading…
Reference in New Issue
Block a user