The Binary String Toolkit or BST for short is a rather simple utility to convert binary strings to various formats suitable for later inclusions in source codes such as those used to develop exploits in the security field.
+ Dump file in a copy/paste friendly binary string format.
+ Convert a plain hexadecimal input to an escaped binary string.
+ Output a “bad characters” sequence in a hexadecimal escaped binary string.
+ Limit output binary strings to specified width for easier readability.
– POSIX C Library
– C Compiler (GCC, clang)
– GNU Make
Use and Download:
git clone https://github.com/e3prom/bst && cd bst
./bstrings -x -D [your_binary]