minor ms access update

This commit is contained in:
Miroslav Stampar 2010-11-02 10:13:36 +00:00
parent 5269cb8c08
commit c98d8fed83
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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"