mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-13 09:33:16 +03:00
parent
b1175017f9
commit
c293a6a25a
|
@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
|
||||||
from lib.core.enums import OS
|
from lib.core.enums import OS
|
||||||
|
|
||||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||||
VERSION = "1.0.10.37"
|
VERSION = "1.0.10.38"
|
||||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||||
|
|
6
thirdparty/socks/socks.py
vendored
6
thirdparty/socks/socks.py
vendored
|
@ -70,6 +70,7 @@ PROXY_TYPES = {"SOCKS4": SOCKS4, "SOCKS5": SOCKS5, "HTTP": HTTP}
|
||||||
PRINTABLE_PROXY_TYPES = dict(zip(PROXY_TYPES.values(), PROXY_TYPES.keys()))
|
PRINTABLE_PROXY_TYPES = dict(zip(PROXY_TYPES.values(), PROXY_TYPES.keys()))
|
||||||
|
|
||||||
_orgsocket = _orig_socket = socket.socket
|
_orgsocket = _orig_socket = socket.socket
|
||||||
|
_orgcreateconnection = socket.create_connection
|
||||||
|
|
||||||
class ProxyError(IOError):
|
class ProxyError(IOError):
|
||||||
"""
|
"""
|
||||||
|
@ -145,7 +146,12 @@ def wrap_module(module):
|
||||||
else:
|
else:
|
||||||
raise GeneralProxyError("No default proxy specified")
|
raise GeneralProxyError("No default proxy specified")
|
||||||
|
|
||||||
|
def unwrap_module(module):
|
||||||
|
module.socket.socket = _orgsocket
|
||||||
|
module.socket.create_connection = _orgcreateconnection
|
||||||
|
|
||||||
wrapmodule = wrap_module
|
wrapmodule = wrap_module
|
||||||
|
unwrapmodule = unwrap_module
|
||||||
|
|
||||||
def create_connection(dest_pair, proxy_type=None, proxy_addr=None,
|
def create_connection(dest_pair, proxy_type=None, proxy_addr=None,
|
||||||
proxy_port=None, proxy_rdns=True,
|
proxy_port=None, proxy_rdns=True,
|
||||||
|
|
|
@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
|
||||||
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
|
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
|
||||||
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
|
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
|
||||||
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
|
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
|
||||||
ecc7bdb84caadf1435a3f21b4cf19ef3 lib/core/settings.py
|
d4200890061c99da6b976755b4aebd83 lib/core/settings.py
|
||||||
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
|
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
|
||||||
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
|
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
|
||||||
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
|
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
|
||||||
|
@ -349,7 +349,7 @@ ff80a22ee858f5331b0c088efa98b3ff thirdparty/prettyprint/prettyprint.py
|
||||||
5c70f8e5f7353aedc6d8d21d4fb72b37 thirdparty/pydes/__init__.py
|
5c70f8e5f7353aedc6d8d21d4fb72b37 thirdparty/pydes/__init__.py
|
||||||
a7f735641c5b695f3d6220fe7c91b030 thirdparty/pydes/pyDes.py
|
a7f735641c5b695f3d6220fe7c91b030 thirdparty/pydes/pyDes.py
|
||||||
d41d8cd98f00b204e9800998ecf8427e thirdparty/socks/__init__.py
|
d41d8cd98f00b204e9800998ecf8427e thirdparty/socks/__init__.py
|
||||||
7cb5df774288a8d835494c8a72435cc0 thirdparty/socks/socks.py
|
a2f0ee74ccc895150f310ef8d680edca thirdparty/socks/socks.py
|
||||||
d41d8cd98f00b204e9800998ecf8427e thirdparty/termcolor/__init__.py
|
d41d8cd98f00b204e9800998ecf8427e thirdparty/termcolor/__init__.py
|
||||||
ea649aae139d8551af513769dd913dbf thirdparty/termcolor/termcolor.py
|
ea649aae139d8551af513769dd913dbf thirdparty/termcolor/termcolor.py
|
||||||
855372c870a23d46683f8aa39d75f6a1 thirdparty/xdot/__init__.py
|
855372c870a23d46683f8aa39d75f6a1 thirdparty/xdot/__init__.py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user