Perl Monk, Perl Meditation | |
PerlMonks |
Wireshark JSON to perl scriptby Tux (Canon) |
on Jan 15, 2020 at 16:04 UTC ( [id://11111440]=perlquestion: print w/replies, xml ) | Need Help?? |
Tux has asked for the wisdom of the Perl Monks concerning the following question: Before I even try to think if it would be possible at all, I want to ask if there is a monk or group of monks that has tried this before: I have a Wireshark JSON output froom the communication of an application with a connected device. What I want is a script that translates this JSON log into a perl script that reproduces this communication. In theory the log contains all the requirements: if the first entry to the device has eth, ip, and udp information, that should suffice to create a connection with given IP and port and send the data in the packet. The returned data - if this works - can then be compared to the returning packet in the JSON log etc etc. Ideas? Links? Existing attempts? Enjoy, Have FUN! H.Merijn
Back to
Seekers of Perl Wisdom
|
|