Search strings in a binary file

A simple way to get strings from a binary file on Linux, use the od command with -S option.

od -S 6 file.bin

will print all the strings with at least 6 printable chars

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.