mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
avoid displaying "do you want to dump" message if no searched columns have been found
This commit is contained in:
parent
326ed33f31
commit
738dbde16c
|
@ -534,14 +534,13 @@ class Search:
|
|||
else:
|
||||
foundCols[column][db] = [tbl]
|
||||
|
||||
if not foundCols:
|
||||
if dbs:
|
||||
conf.dumper.dbColumns(foundCols, colConsider, dbs)
|
||||
self.dumpFoundColumn(dbs, foundCols, colConsider)
|
||||
else:
|
||||
warnMsg = "no databases have tables containing any of the "
|
||||
warnMsg += "provided columns"
|
||||
logger.warn(warnMsg)
|
||||
return
|
||||
|
||||
conf.dumper.dbColumns(foundCols, colConsider, dbs)
|
||||
self.dumpFoundColumn(dbs, foundCols, colConsider)
|
||||
|
||||
def search(self):
|
||||
if Backend.getIdentifiedDbms() in (DBMS.ORACLE, DBMS.DB2):
|
||||
|
|
Loading…
Reference in New Issue
Block a user