Skip to content

Commit

Permalink
update for isse #580
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekultek committed Nov 30, 2019
1 parent b2e3e1c commit 928a014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/plugins/apachegeneric.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def detect(content, **kwargs):
status = kwargs.get("status", 0)
detection_schema = (
re.compile("apache", re.I),
re.compile("You.don.t.have.permission.to.access.this.resource", re.I)
re.compile("You.don.t.have.permission.to.access", re.I)
)

if status == 403:
Expand Down
2 changes: 1 addition & 1 deletion content/plugins/unknown.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ def detect(content, **kwargs):
unknown_verification_regex = re.compile(r"(\b)?<.+>*({})(\S+|\d+|\w+)?(<.+.>)?".format(detection.pattern), re.I)
if unknown_verification_regex.search(content) is not None:
discovered += 1
if discovered > 1:
if discovered > 2:
return True

0 comments on commit 928a014

Please sign in to comment.