File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4149,6 +4149,9 @@ def getHostHeader(url):
41494149 elif any (retVal .endswith (':%d' % _ ) for _ in (80 , 443 )):
41504150 retVal = retVal .split (':' )[0 ]
41514151
4152+ if retVal and retVal .count (':' ) > 1 and not any (_ in retVal for _ in ('[' , ']' )):
4153+ retVal = "[%s]" % retVal
4154+
41524155 return retVal
41534156
41544157def checkDeprecatedOptions (args ):
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.3.1.82 "
22+ VERSION = "1.3.1.83 "
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 @@ -30,7 +30,7 @@ c1da277517c7ec4c23e953a51b51e203 lib/controller/handler.py
3030fb6be55d21a70765e35549af2484f762 lib/controller/__init__.py
3131ed7874be0d2d3802f3d20184f2b280d5 lib/core/agent.py
3232a932126e7d80e545c5d44af178d0bc0c lib/core/bigarray.py
33- 76825cafb1916b85a8738493de8607c6 lib/core/common.py
33+ 872f111e8283a4d36cd56f19d26cd13d lib/core/common.py
3434de8d27ae6241163ff9e97aa9e7c51a18 lib/core/convert.py
3535abcb1121eb56d3401839d14e8ed06b6e lib/core/data.py
3636e1f7758f433202c50426efde5eb96768 lib/core/datatype.py
@@ -50,7 +50,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
50507d8a22c582ad201f65b73225e4456170 lib/core/replication.py
51513179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5252d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
53- 8a8ee76f9b901b16929cf875807a7690 lib/core/settings.py
53+ 0e382a4dfbcfa74d104d172f53beff98 lib/core/settings.py
54544483b4a5b601d8f1c4281071dff21ecc lib/core/shell.py
555510fd19b0716ed261e6d04f311f6f527c lib/core/subprocessng.py
56569c7b5c6397fb3da33e7a4d7876d159c6 lib/core/target.py
You can’t perform that action at this time.
0 commit comments