File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.0.10.37 "
22+ VERSION = "1.0.10.38 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change 7070PRINTABLE_PROXY_TYPES = dict (zip (PROXY_TYPES .values (), PROXY_TYPES .keys ()))
7171
7272_orgsocket = _orig_socket = socket .socket
73+ _orgcreateconnection = socket .create_connection
7374
7475class ProxyError (IOError ):
7576 """
@@ -145,7 +146,12 @@ def wrap_module(module):
145146 else :
146147 raise GeneralProxyError ("No default proxy specified" )
147148
149+ def unwrap_module (module ):
150+ module .socket .socket = _orgsocket
151+ module .socket .create_connection = _orgcreateconnection
152+
148153wrapmodule = wrap_module
154+ unwrapmodule = unwrap_module
149155
150156def create_connection (dest_pair , proxy_type = None , proxy_addr = None ,
151157 proxy_port = None , proxy_rdns = True ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
45455ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
464699a2b496b9d5b546b335653ca801153f lib/core/revision.py
47477c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48- ecc7bdb84caadf1435a3f21b4cf19ef3 lib/core/settings.py
48+ d4200890061c99da6b976755b4aebd83 lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -349,7 +349,7 @@ ff80a22ee858f5331b0c088efa98b3ff thirdparty/prettyprint/prettyprint.py
3493495c70f8e5f7353aedc6d8d21d4fb72b37 thirdparty/pydes/__init__.py
350350a7f735641c5b695f3d6220fe7c91b030 thirdparty/pydes/pyDes.py
351351d41d8cd98f00b204e9800998ecf8427e thirdparty/socks/__init__.py
352- 7cb5df774288a8d835494c8a72435cc0 thirdparty/socks/socks.py
352+ a2f0ee74ccc895150f310ef8d680edca thirdparty/socks/socks.py
353353d41d8cd98f00b204e9800998ecf8427e thirdparty/termcolor/__init__.py
354354ea649aae139d8551af513769dd913dbf thirdparty/termcolor/termcolor.py
355355855372c870a23d46683f8aa39d75f6a1 thirdparty/xdot/__init__.py
You can’t perform that action at this time.
0 commit comments