Upload files to "/"
This commit is contained in:
9
snrt
Normal file
9
snrt
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
clear
|
||||
sudo apt install snort;
|
||||
wget https://snort.org/downloads/community/community-rules.tar.gz -O ~/snortrules.tar.gz
|
||||
sudo tar -xvzf ~/snortrules.tar.gz -C /etc/snort/rules
|
||||
sudo rm -rf ~/snortrules.tar.gz
|
||||
mkdir ~/snortlogs
|
||||
sudo snort -d -b -A fast -c /etc/snort/snort.conf -l ~/snortlogs & sudo snort -d -b -A console -c /etc/snort/snort.conf
|
||||
Reference in New Issue
Block a user