mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-23 20:26:52 +00:00
minor improvement. messages are now warnings (not errors because lots of them are not causing problems for a normal usage) and most of all it's being checked only if the --dependencies is used (until now this switch has been ignored and turned on by default - always)
This commit is contained in:
parent
a4328e914b
commit
d55a242908
3 changed files with 36 additions and 28 deletions
|
|
@ -1212,6 +1212,14 @@ def __setHTTPTimeout():
|
|||
|
||||
socket.setdefaulttimeout(conf.timeout)
|
||||
|
||||
def __checkDependencies():
|
||||
"""
|
||||
Checks for missing dependencies.
|
||||
"""
|
||||
|
||||
if conf.dependencies:
|
||||
checkDependencies()
|
||||
|
||||
def __cleanupOptions():
|
||||
"""
|
||||
Cleanup configuration attributes.
|
||||
|
|
@ -1744,7 +1752,7 @@ def init(inputOptions=advancedDict(), overrideOptions=False):
|
|||
__saveCmdline()
|
||||
__setRequestFromFile()
|
||||
__cleanupOptions()
|
||||
checkDependencies()
|
||||
__checkDependencies()
|
||||
__basicOptionValidation()
|
||||
__setTorProxySettings()
|
||||
__setMultipleTargets()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue