mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user