mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-08 22:28:14 +00:00
got rid of unnecessary output for API - #297
This commit is contained in:
parent
4428ad5345
commit
e03010f48b
2 changed files with 7 additions and 7 deletions
|
|
@ -99,7 +99,7 @@ def tableExists(tableFile, regex=None):
|
|||
threadData.shared.value.append(table)
|
||||
threadData.shared.unique.add(table.lower())
|
||||
|
||||
if conf.verbose in (1, 2):
|
||||
if conf.verbose in (1, 2) and not hasattr(conf, "api"):
|
||||
clearConsoleLine(True)
|
||||
infoMsg = "[%s] [INFO] retrieved: %s\r\n" % (time.strftime("%X"), table)
|
||||
dataToStdout(infoMsg, True)
|
||||
|
|
@ -195,7 +195,7 @@ def columnExists(columnFile, regex=None):
|
|||
if result:
|
||||
threadData.shared.value.append(column)
|
||||
|
||||
if conf.verbose in (1, 2):
|
||||
if conf.verbose in (1, 2) and not hasattr(conf, "api"):
|
||||
clearConsoleLine(True)
|
||||
infoMsg = "[%s] [INFO] retrieved: %s\r\n" % (time.strftime("%X"), column)
|
||||
dataToStdout(infoMsg, True)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue