Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c98d8fe

Browse files
committed
minor ms access update
1 parent 5269cb8 commit c98d8fe

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

plugins/dbms/access/enumeration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def getDbs(self):
2020
logger.warn(warnMsg)
2121

2222
return []
23-
23+
2424
def getBanner(self):
2525
warnMsg = "on Microsoft Access it is not possible to get a banner"
2626
logger.warn(warnMsg)

plugins/dbms/access/fingerprint.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __sysTablesCheck(self):
6767
negate = True
6868
table = table[1:]
6969
randInt = randomInt()
70-
query = agent.prefixQuery("AND EXISTS(SELECT * FROM %s WHERE %d=%d) FROM %s" % (table, randInt, randInt, table))
70+
query = agent.prefixQuery("AND EXISTS(SELECT * FROM %s WHERE %d=%d)" % (table, randInt, randInt))
7171
query = agent.postfixQuery(query)
7272
payload = agent.payload(newValue=query)
7373
result = Request.queryPage(payload)
@@ -148,12 +148,12 @@ def checkDbms(self):
148148
return False
149149

150150
setDbms("Microsoft Access")
151-
151+
152152
if not conf.extensiveFp:
153153
return True
154-
154+
155155
kb.dbmsVersion = [self.__sysTablesCheck()]
156-
156+
157157
return True
158158
else:
159159
warnMsg = "the back-end DMBS is not Microsoft Access"

0 commit comments

Comments
 (0)