You just need to run ./ranges.rb <ranges2.txt which will create key.jpg.

Interesting files:
valid_ports
valid_ports__content_lengths

The ${port_number}.txt files were created by using
Conversations -> TCP tab ->Follow TP Stream
in wireshark, couldn't find a simple automated way to do it (they only include
one side of the conversation).

