snort

1.2.2 • Public • Published

Snort

Sniff dissected packets to JSON

Requirements

  1. tshark
# debian linux
sudo apt install tshark

# macos
brew install tshark

Installation

npm i -g snort

Usage

Flags

  • -i the interface to sniff on (required)

  • -d the sniff duration (required)

  • -k absolute path to an ssl keylog file for encrypted sniffing (optional)

  • --monitor sniff in monitor mode (optional)

  • -s a wireless network ssid (optional)

  • -p a wpa2 password (optional)

Examples

# Sniff https packets for 30 seconds on your localhost
snort -i lo -d 30 -k sslkeys.txt

# Sniff all http packets on an insecure network
snort -i wlp2s0 -d 30 --monitor

launch firefox like SSLKEYLOGFILE=sslkeys.txt firefox to generate the keylog file

Readme

Keywords

Package Sidebar

Install

npm i snort

Weekly Downloads

1

Version

1.2.2

License

MIT

Unpacked Size

5.07 kB

Total Files

7

Last publish

Collaborators

  • camwhite