nccgroup / featherduster

An automated, modular cryptanalysis tool; i.e., a Weapon of Math Destruction
BSD 3-Clause "New" or "Revised" License
1.08k stars 130 forks source link

Improve output of binary data / large amounts of data #51

Open unicornsasfuel opened 7 years ago

unicornsasfuel commented 7 years ago

If you cryptanalyze encrypted binary data, or a very large sample, the current output from FeatherDuster (dump the output on your terminal) is really not practical.

Paging large amounts of data sounds relatively straight forward, and there's likely something in Python's stock module set which does that. hexdump -C style output should be easy enough, but how do we dump data in a more usable way, for instance, to some output file? When should we do that instead of just printing it to the terminal?

drakes00 commented 7 years ago

Hi, I actually just made a pull request on the subject #53 before seeing this thread. However, I did not specifically think about binary i/o. To answer your question I not sure to understand what make binary specific but I am definitely rooting for being able to write to a file.