[common] detect DDoS-Guard challenge pages
This commit is contained in:
@@ -212,6 +212,11 @@ class Extractor():
|
|||||||
if b'name="captcha-bypass"' in content:
|
if b'name="captcha-bypass"' in content:
|
||||||
self.log.warning("Cloudflare CAPTCHA")
|
self.log.warning("Cloudflare CAPTCHA")
|
||||||
break
|
break
|
||||||
|
elif server and server.startswith("ddos-guard") and \
|
||||||
|
code == 403:
|
||||||
|
if b"/ddos-guard/js-challenge/" in response.content:
|
||||||
|
self.log.warning("DDoS-Guard challenge")
|
||||||
|
break
|
||||||
|
|
||||||
if code == 429 and self._handle_429(response):
|
if code == 429 and self._handle_429(response):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user