Skip to content

Pcap tools for security analysis and file manipulation.

License

Notifications You must be signed in to change notification settings

josh-morin/pcap-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dt_write

A utility for processing and modifying the timestamps of pcap files. It is designed to work with pcap files with extensions .pcap and .pcapng. This script leverages Wireshark tools, specifically editcap and tshark, to read and adjust the timestamps within these files.

sni_finder

Developed to analyze PCAP (Packet Capture) files precisely to extract and display domain names in the Server Name Indication (SNI) field from TLS network traffic. 

The script utilizes pyshark to parse the PCAP files, argparse to specify the PCAP file path via the command line, and the PrettyTable library to neatly format and present the results.

Argument example:

python3 sni_finder.py /path/to/pcap/file.pcap

Output example:

+--------------+-------------+----------------+------------------+-------------------+
|  Source IP   | Source Port | Destination IP | Destination Port |      TLS SNI      |
+--------------+-------------+----------------+------------------+-------------------+
| 192.168.65.3 |    46638    | 104.16.125.34  |       443        | enabled.tls13.com |
+--------------+-------------+----------------+------------------+-------------------+

Releases

No releases published

Packages

No packages published

Languages