mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Fixes #1433
This commit is contained in:
parent
5bade7947b
commit
ef22f31fdf
|
@ -144,6 +144,7 @@ class Connect(object):
|
||||||
warnMsg += "(e.g. '--flush-session --technique=BEUS') or try to "
|
warnMsg += "(e.g. '--flush-session --technique=BEUS') or try to "
|
||||||
warnMsg += "lower the value of option '--time-sec' (e.g. '--time-sec=2')"
|
warnMsg += "lower the value of option '--time-sec' (e.g. '--time-sec=2')"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
elif kb.originalPage is None:
|
elif kb.originalPage is None:
|
||||||
if conf.tor:
|
if conf.tor:
|
||||||
warnMsg = "please make sure that you have "
|
warnMsg = "please make sure that you have "
|
||||||
|
@ -160,13 +161,12 @@ class Connect(object):
|
||||||
warnMsg += "with the switch '--random-agent' turned on "
|
warnMsg += "with the switch '--random-agent' turned on "
|
||||||
warnMsg += "and/or proxy switches ('--ignore-proxy', '--proxy',...)"
|
warnMsg += "and/or proxy switches ('--ignore-proxy', '--proxy',...)"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
elif conf.threads > 1:
|
elif conf.threads > 1:
|
||||||
warnMsg = "if the problem persists please try to lower "
|
warnMsg = "if the problem persists please try to lower "
|
||||||
warnMsg += "the number of used threads (option '--threads')"
|
warnMsg += "the number of used threads (option '--threads')"
|
||||||
singleTimeWarnMessage(warnMsg)
|
singleTimeWarnMessage(warnMsg)
|
||||||
|
|
||||||
time.sleep(1)
|
|
||||||
|
|
||||||
kwargs['retrying'] = True
|
kwargs['retrying'] = True
|
||||||
return Connect._getPageProxy(**kwargs)
|
return Connect._getPageProxy(**kwargs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user