As malware are often packed, I'm looking to automate some of the unpacking tasks when that's possible.
In order to do that, I thought that OllyScript was an interesting way to write unpacking script for each packer that I have to deal with. But the first packer example for which I would like to write such script brings a "Bad or unknown format of 32 bits executable" error in Ollydbg/ImmunityDbg.
As there is not that problem in OllyDbg2 I thought that OllyScript+OllyDbg2 will be perfect, but OllyScript doesn't seems to have a version for OllyDbg2...
What kind of "scripting engine" do you suggest me in order to write unpacking scripts ?