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.11.0 "
22+ VERSION = "1.0.11.2 "
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 77
88import distutils .version
99import httplib
10+ import re
1011import socket
1112import urllib2
1213
@@ -47,7 +48,7 @@ def create_sock():
4748
4849 # Reference(s): https://docs.python.org/2/library/ssl.html#ssl.SSLContext
4950 # https://www.mnot.net/blog/2014/12/27/python_2_and_tls_sni
50- if kb .tlsSNI .get (self .host ) != False and hasattr (ssl , "SSLContext" ):
51+ if re . search ( r"\A[\d.]+\Z" , self . host ) is None and kb .tlsSNI .get (self .host ) != False and hasattr (ssl , "SSLContext" ):
5152 for protocol in filter (lambda _ : _ >= ssl .PROTOCOL_TLSv1 , _protocols ):
5253 try :
5354 sock = create_sock ()
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- c956b2508dd6a0b390b5ed3467f8009f lib/core/settings.py
48+ e4a80a2ccebb066cefb26a187696d4bc lib/core/settings.py
49497af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
505023657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -70,7 +70,7 @@ c48285682a61d49982cb508351013cb4 lib/request/comparison.py
70709bff6fe291805380c6a74d0cda6684a5 lib/request/connect.py
7171d4d52c1073c75a6eecd2ebb98b670b96 lib/request/direct.py
72724ae7f4570fb859045f0487cc0b055a8e lib/request/dns.py
73- 70ceefe39980611494d4f99afb96f652 lib/request/httpshandler.py
73+ 58f63132eb56ad41ae6af4fe61933a2d lib/request/httpshandler.py
7474cc9c82cfffd8ee9b25ba3af6284f057e lib/request/__init__.py
757562aff2a7bdd43f6e4d33385f57ec3e4c lib/request/inject.py
76763fc323d525beddd14cd4d4dca4934fa8 lib/request/methodrequest.py
You can’t perform that action at this time.
0 commit comments