mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
minor update
This commit is contained in:
parent
394ccb5cc5
commit
4295a78c5f
3 changed files with 10 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ from lib.core.settings import IS_WIN
|
|||
from lib.core.settings import PLATFORM
|
||||
from lib.core.settings import PYVERSION
|
||||
from lib.core.settings import SITE
|
||||
from lib.core.settings import DEFAULT_TOR_PROXY
|
||||
from lib.core.settings import SUPPORTED_DBMS
|
||||
from lib.core.settings import SUPPORTED_OS
|
||||
from lib.core.settings import VERSION_STRING
|
||||
|
|
@ -1129,6 +1130,9 @@ def __cleanupOptions():
|
|||
conf.nullConnection = not conf.textOnly
|
||||
conf.threads = 4 if conf.threads < 4 else conf.threads
|
||||
|
||||
if conf.tor:
|
||||
conf.proxy = DEFAULT_TOR_PROXY
|
||||
|
||||
def __setConfAttributes():
|
||||
"""
|
||||
This function set some needed attributes into the configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue