File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5012,7 +5012,7 @@ def _parseBurpLog(content):
50125012 port , request = match .groups ()
50135013 try :
50145014 request = decodeBase64 (request , binary = False )
5015- except binascii .Error :
5015+ except ( binascii .Error , TypeError ) :
50165016 continue
50175017 _ = re .search (r"%s:.+" % re .escape (HTTP_HEADER .HOST ), request )
50185018 if _ :
Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.10.13 "
21+ VERSION = "1.3.10.14 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_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 @@ -123,7 +123,7 @@ def _(regex):
123123
124124 try :
125125 decodeBase64 (value )
126- except binascii .Error :
126+ except ( binascii .Error , TypeError ) :
127127 base64 = False
128128 break
129129
Original file line number Diff line number Diff line change @@ -1000,7 +1000,7 @@ def dictionaryAttack(attack_dict):
10001000 resumes .append ((user , hash_ , resumed ))
10011001 keys .add (hash_ )
10021002
1003- except (binascii .Error , IndexError ):
1003+ except (binascii .Error , TypeError , IndexError ):
10041004 pass
10051005
10061006 if not attack_info :
You can’t perform that action at this time.
0 commit comments