Skip to content

Commit 970c7f6

Browse files
committed
1 parent 105e314 commit 970c7f6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from 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"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

sqlmap.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)