MarioVilas / shellcode_tools

Miscellaneous tools written in Python, mostly centered around shellcodes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

-d option on bin2py doesn't seem to work

MichaelHipp opened this issue · comments

Thanks for bin2py, saved me from having to write it myself.

The -d option on bin2py.py doesn't seem to work, it just causes it to give the usage information. For example, this command line works:

bin2py logo.jpg -o logo.py

but this one doesn't:

bin2py logo.jpg -o logo.py -d

I'm running on Windows 7 x64 with Python 2.7.6 x32.

Thanks for your kind words! :)

The -d switch must be used in combination with another switch to specify exactly which encoding you want. I'll change it to assume the default instead, since the current behavior is a bit confusing (what was I thinking?).

Cheers,
-Mario