Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b0928e0

Browse files
committed
Proper comment
1 parent 2cc167a commit b0928e0

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

lib/utils/resume.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)