Important fix (Issue #489) - we had a bad presumption than only public schema could be used for enumeration (while all schemas inside a current db could be used)

This commit is contained in:
stamparm
2013-07-19 13:24:35 +02:00
parent 86b62dc619
commit dbb0d7f700
4 changed files with 13 additions and 22 deletions

View File

@@ -171,13 +171,3 @@ class Fingerprint(GenericFingerprint):
logger.info(infoMsg)
self.cleanup(onlyFileTbl=True)
def forceDbmsEnum(self):
if conf.db not in PGSQL_SYSTEM_DBS and conf.db != "public":
conf.db = "public"
warnMsg = "on %s it is possible to enumerate " % DBMS.PGSQL
warnMsg += "only on the current schema and/or system databases. "
warnMsg += "sqlmap is going to use 'public' schema as a "
warnMsg += "database name"
singleTimeWarnMessage(warnMsg)