mirror of
https://github.com/empayre/ip_reputation.git
synced 2024-11-06 01:45:20 +00:00
Create update_ip_rep.sh
This commit is contained in:
parent
e7fdc168d6
commit
b840e42c4d
6
update_ip_rep.sh
Normal file
6
update_ip_rep.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
rm -Rf /etc/suricata/iprep/*
|
||||
python3 /opt/OTX-Suricata-master/otx-suricata/suricata.py --key 3f59b21830614df4e88ef727cc576a89a5bd58d831a01856ff34a9f65035b51c --skip-filemd5 --destination-directory /etc/suricata/iprep/
|
||||
curl -Lo /tmp/talos_ip "http://www.talosintelligence.com/documents/ip-blacklist"
|
||||
sed "s/$/,41,127/" /tmp/talos_ip >> /etc/suricata/iprep/reputation.list
|
||||
systemctl restart suricata
|
Loading…
Reference in New Issue
Block a user