Skip to content

Commit

Permalink
update for yundun (issue #502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekultek committed Dec 1, 2019
1 parent abebb70 commit 4b9d5b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion content/plugins/yundun.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def detect(content, **kwargs):
detection_schema = (
re.compile(r"YUNDUN", re.I),
re.compile(r"^yd.cookie=(\w+)?", re.I),
re.compile(r"http(s)?.//(www)?.(\w+)?(.)?yundun(.com)?", re.I)
re.compile(r"http(s)?.//(www)?.(\w+)?(.)?yundun(.com)?", re.I),
re.compile("<title>.403.forbidden:.access.is.denied(.)?.<.(.)?title>", re.I)
)
if headers is not None:
for detection in detection_schema:
Expand Down

0 comments on commit 4b9d5b5

Please sign in to comment.