Skip to content

Latest commit

ย 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 

Repository files navigation

Pcap Commentator

Pcap Commentator is a small Python tool that allows you to add and read comments from packets in .pcapng files using Scapy.

Features

  • โœ… Add a comment to a specific packet
  • ๐Ÿ” View a packet and its comment in JSON format
  • ๐Ÿ“‚ Save modified packets into a new .pcapng file

Usage

Edit the main.py to change the input file, comment text, and packet number.

Example:

add_comment_to_packet('your_input_file.pcapng', 'This is a comment.', 5)
read_comment_from_packet('output.pcapng', 5)

Notes

The input file must be in .pcapng format (not .pcap)

Packet numbering starts at 1

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages