Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c05307

Browse files
committed
Disabling socket pre-connect in case of --tor, --proxy and --proxy-file
1 parent 0037c28 commit 4c05307

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

lib/core/option.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1769,6 +1769,9 @@ def _cleanupOptions():
17691769
if conf.binaryFields:
17701770
conf.binaryFields = re.sub(r"\s*,\s*", ",", conf.binaryFields)
17711771

1772+
if any((conf.proxy, conf.proxyFile, conf.tor)):
1773+
conf.disablePrecon = True
1774+
17721775
threadData = getCurrentThreadData()
17731776
threadData.reset()
17741777

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.10.22"
22+
VERSION = "1.0.10.23"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ e4aec2b11c1ad6039d0c3dbbfbc5eb1a lib/core/exception.py
3939
cc9c82cfffd8ee9b25ba3af6284f057e lib/core/__init__.py
4040
91c514013daa796e2cdd940389354eac lib/core/log.py
4141
5b079749c50240602ea92637e268ed31 lib/core/optiondict.py
42-
7e810ce6416465b3ccf0557f941a7653 lib/core/option.py
42+
e430ec19a22443205bba6cd811990bf3 lib/core/option.py
4343
7af487340c138f7b5dbd443161cbb428 lib/core/profiling.py
4444
e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
4646
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
a9bda44aa2a28b50254faadb508a6539 lib/core/settings.py
48+
9af61d6fa1333a6635084ce02ea14643 lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py

0 commit comments

Comments
 (0)