I running a honeypot for the telnet and ssh services (more specifically, I'm running cowrie).
When an attacker tries to download a binary file cowrie generally downloads it and saves it to a file, but sometimes it fails and displays the whole binary gibberish instead rather than saving it to a file.
I have the pcap files with the traffic though, so what I'd like to do is use some program to filter any downloaded binary code from the pcap file and save it to a file.
My question is, is there any such program/script that does that?