Minor patch for an Issue #404

This commit is contained in:
stamparm 2013-02-26 12:54:54 +01:00
parent ecbcd4afe6
commit 17fa0f568c

View File

@ -350,6 +350,11 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
_parseBurpLog(content)
_parseWebScarabLog(content)
if not addedTargetUrls:
errMsg = "unable to find usable request(s) "
errMsg += "in provided file ('%s')" % reqFile
raise SqlmapGenericException(errMsg)
def _loadQueries():
"""
Loads queries from 'xml/queries.xml' file.