File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 20
20
from thirdparty .six import unichr as _unichr
21
21
22
22
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23
- VERSION = "1.6.9.1 "
23
+ VERSION = "1.6.9.2 "
24
24
TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
25
25
TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
26
26
VERSION_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 @@ -120,7 +120,10 @@ def process(match, repl):
120
120
while True :
121
121
_ = re .search (r"\\g<([^>]+)>" , retVal )
122
122
if _ :
123
- retVal = retVal .replace (_ .group (0 ), match .group (int (_ .group (1 )) if _ .group (1 ).isdigit () else _ .group (1 )))
123
+ try :
124
+ retVal = retVal .replace (_ .group (0 ), match .group (int (_ .group (1 )) if _ .group (1 ).isdigit () else _ .group (1 )))
125
+ except IndexError :
126
+ break
124
127
else :
125
128
break
126
129
if kb .customInjectionMark in retVal :
You can’t perform that action at this time.
0 commit comments