Skip to content

littlezz/scapy2dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scapy2dict

Scapy packet to dict

install

pip3 install scapy2dict

Usage

from scapy.all import sniff
from scapy2dict import to_dict
pkt = sniff(count=1)[0]

# To ChainMap dict
data = to_dict(pkt)

# to exactly dict
data = to_dict(pkt, strict=True)

About

Scapy packet to dict

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published