Skip to content

camwhite/snort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Focused wrapper around terminal shark

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published