Skip to content

Instantly share code, notes, and snippets.

@jouellnyc
jouellnyc / gist:ea6eb67616b37dd95202420739756d5b
Last active August 13, 2020 04:04
Show all unique destination ports in Suricata's eve.json log
#cd /var/log/suricata
#cat eve.json | jq -r '.dest_port' | sort | uniq -c | sort -nr | head
436 53
410 443
215 null
193 80
28 22
22 5353
15 1900
6 5228
@jouellnyc
jouellnyc / gist:401bf422e44633d7878333855f1a84e3
Last active March 25, 2019 21:32
3 Interfaces on Raspberry PI 3B+
cat /etc/network/interfaces
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
### Keybase proof
I hereby claim:
* I am jouellnyc on github.
* I am jouellnyc (https://keybase.io/jouellnyc) on keybase.
* I have a public key whose fingerprint is 0763 D155 5A7E C1E0 EF47 B975 433D 4AB3 2446 852A
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am modulusmath on github.
  • I am modulusmath (https://keybase.io/modulusmath) on keybase.
  • I have a public key whose fingerprint is EDE0 F23D F43D 7B48 4B69 FF3A 0EFE 18B7 6CEA 4A08

To claim this, I am signing this object: