summarylogtreecommitdiffstats
path: root/naxsi.rules
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 16:45:36 +0200
committerPiotr Rogoża2015-06-14 16:45:36 +0200
commit91b9074230afab97d1b87507ce9b912aa2c40d6f (patch)
treef8a7ab129db9d5c6d55353e7d1b7dac910dd809e /naxsi.rules
downloadaur-91b9074230afab97d1b87507ce9b912aa2c40d6f.tar.gz
Initial import
Diffstat (limited to 'naxsi.rules')
-rw-r--r--naxsi.rules13
1 files changed, 13 insertions, 0 deletions
diff --git a/naxsi.rules b/naxsi.rules
new file mode 100644
index 000000000000..fec21ea4fb25
--- /dev/null
+++ b/naxsi.rules
@@ -0,0 +1,13 @@
+# Sample rules file for default vhost.
+
+LearningMode;
+SecRulesEnabled;
+#SecRulesDisabled;
+DeniedUrl "/RequestDenied";
+
+## check rules
+CheckRule "$SQL >= 8" BLOCK;
+CheckRule "$RFI >= 8" BLOCK;
+CheckRule "$TRAVERSAL >= 4" BLOCK;
+CheckRule "$EVADE >= 4" BLOCK;
+CheckRule "$XSS >= 8" BLOCK;