Clean up Linux vs Windows pcap
JohnDMcMaster opened this issue · comments
There is an ugly fork in the repo right now:
- usbrply.py: Linux pcap file
- usbrplyw.py: Windows pcap file
When I wrote this, I never intended to support Windows, nor did I realize the .cap files would be so different. Generally speaking I generate .pcap files under Linux, which may include use of a Windows VM with the actual app running. As such, the overhead of maintaining native Windows pcap generally hasn't been worth it.
It would be ideal to abstract the two in a way to support both Linux and Windows. Alternatively, if Windows support is to be abandoned, delete usbrplyw.py and add a note to this ticket if someone wants to add support back in later.