Login
Discover
Waves
Communities
Write
Login
Signup
Topics
#
dpkt
Explore topics
#dpkt
Global
Trending
Hot
New
Payout
Muted
Promoted
#dpkt
New
#dpkt
Follow to get notified about new posts with this tag
Get #dpkt by email
Follow
ss5h
network
9y
pcap parsing using dpkt
어쩌다 pcap에서 http 통신을 하는 패킷을 찾아내고 Request에 들어가는 값들을 파싱해야하는 일이 생겼다. 그래서 사용한게 dpkt 라이브러리이다. 사용법은 엄청 간단하다. pcap파일을 rb모드로 open하고 dpkt.pcap.Reader라는 함수에 넣어주면 기초 작업은 끝이다. f = open(sys.argv[1],'rb') pcap =
$ 0.000
1
2
Discover communities
Explore communities
Create your community