minor update

This commit is contained in:
Miroslav Stampar
2011-12-05 09:25:56 +00:00
parent 408d12dc41
commit 0f5d48ff20
4 changed files with 7 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ for tunneling connections through SOCKS proxies.
"""
Minor modifications made by Miroslav Stampar (http://www.sqlmap.org/)
for patching DNS-leakage occuring in create_connection()
for patching DNS-leakage occuring in socket.create_connection()
Minor modifications made by Christopher Gilbert (http://motomastyle.com/)
for use in PyLoris (http://pyloris.sourceforge.net/)
@@ -392,9 +392,7 @@ class socksocket(socket.socket):
def create_connection(address, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
source_address=None):
"""
Patched for DNS-leakage
"""
# Patched for a DNS-leakage
host, port = address
sock = None
try: