Skip to content

Instantly share code, notes, and snippets.

View krisnn's full-sized avatar
🐢
I may be slow to respond.

Kristiono N krisnn

🐢
I may be slow to respond.
View GitHub Profile
#!/usr/bin/env bash
# Author: Josh Stroschein
# Date: 22 Nov 2020
# Reference: https://suricata-update.readthedocs.io/en/latest/quickstart.html#directories-and-permissions
if (($EUID != 0)); then
echo -e "[!] Please run this script as root or with \"sudo\"\n"
exit 1
fi
@austinsonger
austinsonger / suricata-ids-ips.sh
Last active March 28, 2022 10:11
Suricata (IDS + IPS) [Debian-Based Systems]
######################
# Suricata (IDS + IPS)
######################
# Update and Upgrade
sudo update -y && sudo upgrade -y
# Requirements
sudo apt -y install rustc cargo
sudo apt -y install libpcre3 libpcre3-dbg libpcre3-dev build-essential autoconf automake libtool libpcap-dev libnet1-dev libyaml-0-2 libyaml-dev zlib1g zlib1g-dev libcap-ng-dev libcap-ng0 libnspr4-dev libnss3-dev liblz4-dev