aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort_check_for_rule_updates.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/snort/snort_check_for_rule_updates.php b/config/snort/snort_check_for_rule_updates.php
index f1152c10..df6ca548 100644
--- a/config/snort/snort_check_for_rule_updates.php
+++ b/config/snort/snort_check_for_rule_updates.php
@@ -159,9 +159,9 @@ if ($emergingthreats == "on") {
$sedcmd = "s/^#alert/# alert/g\n";
$sedcmd .= "s/^##alert/# alert/g\n";
$sedcmd .= "s/^# alert/# alert/g\n";
-$sedcmd .= "s/^#\talert/# alert/g\n";
-$sedcmd .= "s/^##\talert/# alert/g\n";
-$sedcmd .= "s/^\talert/alert/g\n";
+$sedcmd .= "s/^#\\talert/# alert/g\n";
+$sedcmd .= "s/^##i\talert/# alert/g\n";
+$sedcmd .= "s/^\\talert/alert/g\n";
$sedcmd .= "s/^ alert/alert/g\n";
$sedcmd .= "s/^ alert/alert/g\n";
@file_put_contents("{$snortdir}/tmp/sedcmd", $sedcmd);