Switching proxies when Google detects unusual traffic

This commit is contained in:
Miroslav Stampar 2017-11-01 10:35:01 +01:00
parent 01d24cbb42
commit 14676bdffb

View File

@ -104,7 +104,11 @@ def _search(dork):
if not retVal and "detected unusual traffic" in page:
warnMsg = "Google has detected 'unusual' traffic from "
warnMsg += "used IP address disabling further searches"
logger.warn(warnMsg)
if conf.proxyList:
raise SqlmapBaseException(warnMsg)
else:
logger.critical(warnMsg)
if not retVal:
message = "no usable links found. What do you want to do?"