mirror of
https://github.com/bvanroll/college-pentesting.git
synced 2025-08-29 20:12:41 +00:00
pls groot genoeg
This commit is contained in:
18
verb/binary/attemp2/fs/cpio/sbin/snort.sh
Executable file
18
verb/binary/attemp2/fs/cpio/sbin/snort.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: //WIFI_SOC/release/SDK_4_1_0_0/source/user/rt2880_app/scripts/snort.sh#1 $
|
||||
#
|
||||
# usage: snort.sh
|
||||
#
|
||||
|
||||
se=`nvram_get 2860 SnortEnable`
|
||||
|
||||
killall -q snort
|
||||
|
||||
# debug
|
||||
#echo "se=$se"
|
||||
|
||||
#run snort
|
||||
if [ "$se" = "1" ]; then
|
||||
/bin/snort -c /etc_ro/snort.conf -l /var/log -s &
|
||||
fi
|
Reference in New Issue
Block a user