Skip to content

Commit

Permalink
Minor patch for an Issue #404
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Feb 26, 2013
1 parent ecbcd4a commit 17fa0f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/core/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,11 @@ def _parseBurpLog(content):
_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.
Expand Down

0 comments on commit 17fa0f5

Please sign in to comment.