mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-28 04:33:16 +00:00
Fix retry-on check on empty response
This commit is contained in:
parent
220a75b230
commit
c07b15666c
3 changed files with 4 additions and 4 deletions
|
|
@ -994,7 +994,7 @@ class Connect(object):
|
|||
|
||||
# Dirty patch for Python3.11.0a7 (e.g. https://github.com/sqlmapproject/sqlmap/issues/5091)
|
||||
if not sys.version.startswith("3.11."):
|
||||
if conf.retryOn and re.search(conf.retryOn, page, re.I):
|
||||
if conf.retryOn and re.search(conf.retryOn, page or "", re.I):
|
||||
if threadData.retriesCount < conf.retries:
|
||||
warnMsg = "forced retry of the request because of undesired page content"
|
||||
logger.warning(warnMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue