-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from joglomedia/2.x.x
2.8.x [Alpha]
- Loading branch information
Showing
78 changed files
with
4,117 additions
and
1,392 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
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
This file was deleted.
Oops, something went wrong.
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
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
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,6 @@ | ||
[Definition] | ||
|
||
failregex = ^<HOST> .* "POST .*wp-login.php | ||
^<HOST> .* "POST .*xmlrpc.php | ||
failregex = ^<HOST>.* "POST .*(wp-login.php|xmlrpc.php)([/\?#\\].*)? HTTP/.*" 200|401 | ||
^<HOST> .* "GET .*" 404 .* | ||
|
||
ignoreregex = |
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,6 +1,6 @@ | ||
/var/log/nginx/*.log /home/*/logs/nginx/*_log { | ||
daily | ||
rotate 3 | ||
rotate 14 | ||
compress | ||
delaycompress | ||
missingok | ||
|
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Sample rules file for default vhost. | ||
|
||
#LearningMode; | ||
SecRulesEnabled; | ||
#SecRulesDisabled; | ||
LibInjectionSql; | ||
LibInjectionXss; | ||
|
||
DeniedUrl "/RequestDenied"; | ||
|
||
## Check rules | ||
CheckRule "$SQL >= 8" BLOCK; # SQL injection action (unrelated to libinjection) | ||
CheckRule "$XSS >= 8" BLOCK; # XSS action (unrelated to libinjection) | ||
CheckRule "$RFI >= 8" BLOCK; # Remote File Inclusion action | ||
CheckRule "$UWA >= 8" BLOCK; # Unwanted Access action | ||
CheckRule "$EVADE >= 8" BLOCK; # Evade action (some tools may try to avoid detection). | ||
CheckRule "$UPLOAD >= 5" BLOCK; # Malicious upload action | ||
CheckRule "$TRAVERSAL >= 5" BLOCK; # Traversal access action | ||
CheckRule "$LIBINJECTION_XSS >= 8" BLOCK; # libinjection XSS action | ||
CheckRule "$LIBINJECTION_SQL >= 8" BLOCK; # libinjection SQLi action |
Oops, something went wrong.