Skip to content

Commit

Permalink
new detection script for ConfigServer (issue #682)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekultek committed Feb 1, 2020
1 parent f612f80 commit 8d3486b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions content/plugins/configserver.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import re


__product__ = "CSF (ConfigServer Security & Firewall)"


def detect(content, **kwargs):
content = str(content)
detection_schema = (
re.compile(r".>the.firewall.on.this.server.is.blocking.your.connection.<+", re.I),
)
for detection in detection_schema:
if detection.search(content) is not None:
return True
2 changes: 1 addition & 1 deletion lib/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
pass

# version number <major>.<minor>.<commit>
VERSION = "1.9.14"
VERSION = "1.9.15"

# version string
VERSION_TYPE = "($dev)" if VERSION.count(".") > 1 else "($stable)"
Expand Down

0 comments on commit 8d3486b

Please sign in to comment.