Skip to content
/ genpcap Public

Generate a pcap with a tcp/udp stream of a given file to transport

Notifications You must be signed in to change notification settings

ripx80/genpcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

genpacp

Generate a http (GET/RESPONSE) transaction with a given file in pcap format. Extracted content with wireshark. And yep written in go.

If you use bro you will get a tcp trunced error message. If you know how I can fix this, your are welcome ;-)

This is a poc to write a pacp injector with a given file or url. RFC are welcome!

Usage

# genpcap -h
genpcap holiday.jpeg holiday.pcap

Roadmap

  • tests!
  • random seed rand.Seed(42) for seq numbers
  • add udp plain support
  • calculate correct window size
  • http get content type of file. its almost jpeg :-)

About

Generate a pcap with a tcp/udp stream of a given file to transport

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages