aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_json_get.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort-dev/snort_json_get.php')
-rw-r--r--config/snort-dev/snort_json_get.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/config/snort-dev/snort_json_get.php b/config/snort-dev/snort_json_get.php
new file mode 100644
index 00000000..f991f10b
--- /dev/null
+++ b/config/snort-dev/snort_json_get.php
@@ -0,0 +1,37 @@
+<?php
+
+require_once("guiconfig.inc");
+require_once("/usr/local/pkg/snort/snort_new.inc");
+
+
+
+
+
+
+
+// upload created log tar to user
+if ($_GET['snortlogdownload'] == 1)
+{
+
+ sendFileSnortLogDownload();
+
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+?> \ No newline at end of file