readpe icon indicating copy to clipboard operation
readpe copied to clipboard

Invalid header option [at readpe.c:86]

Open Oldguy74 opened this issue 1 year ago • 3 comments

Running Manjaro, lattest updates, OpenSSL installed, only thing that works is the optional header, everything else, gives. ERROR: invalid header option [at readpe.c:86], I'm not where my Windows PC is, so I can't try any utility on it, tried this on known good PE file. Thanks

Oldguy74 avatar Nov 09 '24 20:11 Oldguy74

This specific error means it received an invalid/unexpected value in argument -h. The valid values are dos, coff, or optional.

jweyrich avatar Nov 10 '24 16:11 jweyrich

Looking over the code I didn't find any obvious issues. I will spin up a Majora VM tomorrow. This might sound silly, but I rather make sure: dos, coff and optional are case-sensitive all lowercase.

GoGoOtaku avatar Nov 12 '24 00:11 GoGoOtaku

Testing this I could not reproduce this. I installed it from the aur package with makepkg -si and it worked just fine (tested with putty.exe)

GoGoOtaku avatar Nov 14 '24 14:11 GoGoOtaku