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

Skip to content

Commit 7b52bbe

Browse files
committed
reverting that ignoreTimeout for --tables (because of this and that)
1 parent 9b26235 commit 7b52bbe

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

plugins/generic/enumeration.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -804,10 +804,6 @@ def getTables(self, bruteForce=None):
804804
infoMsg += "%s: %s" % ("s" if len(dbs) > 1 else "", ", ".join(db for db in dbs))
805805
logger.info(infoMsg)
806806

807-
pushValue(kb.ignoreTimeout)
808-
# some DBMSes (like MySQL) have (permission related) timeout issues when retrieving table names
809-
kb.ignoreTimeout = True
810-
811807
rootQuery = queries[Backend.getIdentifiedDbms()].tables
812808

813809
if isTechniqueAvailable(PAYLOAD.TECHNIQUE.UNION) or isTechniqueAvailable(PAYLOAD.TECHNIQUE.ERROR) or conf.direct:
@@ -905,8 +901,6 @@ def getTables(self, bruteForce=None):
905901
warnMsg += "for database '%s'" % db
906902
logger.warn(warnMsg)
907903

908-
kb.ignoreTimeout = popValue()
909-
910904
if isNoneValue(kb.data.cachedTables):
911905
kb.data.cachedTables.clear()
912906

0 commit comments

Comments
 (0)