File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ def resume(expression, payload):
9393 This function can be called to resume part or entire output of a
9494 SQL injection query output.
9595 """
96+
9697 try :
9798 if "sqlmapfile" in expression or "sqlmapoutput" in expression :
9899 return None
@@ -132,11 +133,11 @@ def resume(expression, payload):
132133
133134 return resumedValue
134135
135- # If we called this function without providing a payload it means that
136- # we have called it from lib/request/inject __goInband() function
137- # in UNION query (inband) SQL injection so we return to the calling
138- # function so that the query output will be retrieved taking advantage
139- # of the inband SQL injection vulnerability.
136+ # If we called this function without providing a payload it means
137+ # that we have called it from lib/request/inject __goInband() or
138+ # from __goError() function so we return to the calling function
139+ # so that the query output will be retrieved taking advantage
140+ # of either error-based or inband SQL injection vulnerability.
140141 if not payload :
141142 return None
142143
You can’t perform that action at this time.
0 commit comments