mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
changes regarding Feature #160
This commit is contained in:
@@ -1098,7 +1098,9 @@ def __setVerbosity():
|
||||
|
||||
conf.verbose = int(conf.verbose)
|
||||
|
||||
if conf.verbose == 1:
|
||||
if conf.verbose == 0:
|
||||
logger.setLevel(logging.CRITICAL)
|
||||
elif conf.verbose == 1:
|
||||
logger.setLevel(logging.INFO)
|
||||
elif conf.verbose > 2 and conf.eta:
|
||||
conf.verbose = 2
|
||||
@@ -1173,7 +1175,7 @@ def init(inputOptions=advancedDict()):
|
||||
parseTargetUrl()
|
||||
parseTargetDirect()
|
||||
|
||||
if conf.url or conf.list or conf.requestFile or conf.googleDork:
|
||||
if conf.url or conf.list or conf.requestFile or conf.googleDork or conf.liveTest:
|
||||
__setHTTPTimeout()
|
||||
__setHTTPExtraHeaders()
|
||||
__setHTTPCookies()
|
||||
|
||||
Reference in New Issue
Block a user