how to install/config Suricata on debian 8 No ratings yet.

suricata: on Debian 8 apt-get install suricata  ( it is 2.0.7 version) vi /etc/default/suricata  ( change RUN=yes, and adjust IFACE to  the interface and listen mode to pcap) systemctl start suricata tail -f /var/log/suricata/fast.lg ( eve.json)   rules mangement: apt-get install oinkmaster add /etc/oinkmaster.conf url = then run: oinkmaster -C /etc/oinkmaster.conf -o /etc/suricata/rules systemctl • Read More »

Postgresql cheatsheat 5/5 (1)

Connecting to MySQL:  mysql -u user_name -p Connecting to PostgreSQL: sudo -u postgres psql Description MySQL command PostgreSQL equivalent Show databases SHOW DATABASES; \l[ist] Use/Connect to a database named ‘some_database’ USE some_database; \c some_database Show tables/relations within one database SHOW TABLES; \dt Show table details (columns, types) DESCRIBE some_table; \d+ some_table Show indices of some_table (in • Read More »