-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae6769f
commit 5912f4b
Showing
4 changed files
with
15 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.03 | ||
1.04 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python | ||
# OSSEC Ruleset Installer and Updater | ||
|
||
# v2.2 2016/01/21 | ||
# v2.2 2016/01/25 | ||
# Created by Wazuh, Inc. <[email protected]>. | ||
# [email protected] | ||
# This program is a free software; you can redistribute it and/or modify it under the terms of GPLv2 | ||
|
@@ -12,7 +12,7 @@ | |
# root privileges | ||
|
||
# Instructions: | ||
# sudo mkdir /var/ossec/updater && cd /var/ossec/updater | ||
# sudo mkdir /var/ossec/updater/ruleset && cd /var/ossec/updater/ruleset | ||
# sudo wget https://raw.githubusercontent.com/wazuh/ossec-rules/master/ossec_ruleset.py | ||
# sudo chmod +x ossec_ruleset.py | ||
# sudo ./ossec_ruleset.py --help | ||
|
@@ -1088,7 +1088,7 @@ def compatibility_with_old_versions(): | |
|
||
def usage(): | ||
msg = """ | ||
OSSEC Wazuh Ruleset installer & updater v2.0 | ||
OSSEC Wazuh Ruleset installer & updater v2.2 | ||
Github repository: https://github.com/wazuh/ossec-rules | ||
Full documentation: http://documentation.wazuh.com/en/latest/ossec_ruleset.html | ||
|
@@ -1133,13 +1133,13 @@ def usage(): | |
if __name__ == "__main__": | ||
# Config | ||
MAX_BACKUPS = 50 | ||
# url_ruleset = "http://ossec.wazuh.com/ruleset/ruleset.zip" | ||
url_ruleset = "http://ossec.wazuh.com/ruleset/ruleset_development.zip" | ||
url_ruleset = "http://ossec.wazuh.com/ruleset/ruleset.zip" | ||
# url_ruleset = "http://ossec.wazuh.com/ruleset/ruleset_development.zip" | ||
|
||
# Vars | ||
ossec_path = "/var/ossec" | ||
ossec_conf = "{0}/etc/ossec.conf".format(ossec_path) | ||
updater_path = "{0}/updater".format(ossec_path) | ||
updater_path = "{0}/updater/ruleset".format(ossec_path) | ||
# updater_path = "." | ||
bk_directory = "{0}/backups".format(updater_path) | ||
log_path = "{0}/ossec_ruleset.log".format(updater_path) | ||
|