File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed 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.5.3.3 "
21+ VERSION = "1.5.3.4 "
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 @@ -193,6 +193,8 @@ def main():
193193 targets = getFileItems (conf .bulkFile )
194194
195195 for i in xrange (len (targets )):
196+ target = None
197+
196198 try :
197199 kb .targets .clear ()
198200 target = targets [i ]
@@ -205,7 +207,7 @@ def main():
205207
206208 crawl (target )
207209 except Exception as ex :
208- if not isinstance (ex , SqlmapUserQuitException ):
210+ if target and not isinstance (ex , SqlmapUserQuitException ):
209211 errMsg = "problem occurred while crawling '%s' ('%s')" % (target , getSafeExString (ex ))
210212 logger .error (errMsg )
211213 else :
You can’t perform that action at this time.
0 commit comments