mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
adding --purge-output to be one of mandatory switches
This commit is contained in:
@@ -1968,7 +1968,7 @@ def init(inputOptions=AttribDict(), overrideOptions=False):
|
||||
parseTargetUrl()
|
||||
parseTargetDirect()
|
||||
|
||||
if any([conf.url, conf.logFile, conf.bulkFile, conf.requestFile, conf.googleDork, conf.liveTest]):
|
||||
if any((conf.url, conf.logFile, conf.bulkFile, conf.requestFile, conf.googleDork, conf.liveTest)):
|
||||
__setHTTPTimeout()
|
||||
__setHTTPExtraHeaders()
|
||||
__setHTTPCookies()
|
||||
|
||||
@@ -23,7 +23,7 @@ def purge(directory):
|
||||
if not os.path.isdir(directory):
|
||||
return
|
||||
|
||||
infoMsg = "purging content of directory ('%s'). Please wait. This could take a while..." % directory
|
||||
infoMsg = "purging content of directory ('%s'). Please wait as this could take a while" % directory
|
||||
logger.info(infoMsg)
|
||||
|
||||
filepaths = []
|
||||
|
||||
Reference in New Issue
Block a user