When I try to open a PE executable , it's automatically run.
How can I just open it statically without running it? I just want to see the binary file in hex format.
When I try to open a PE executable , it's automatically run.
How can I just open it statically without running it? I just want to see the binary file in hex format.
If you really want see it in "hex format" - just use any of hex viewer or hex editor. There are lots of them, including plugins for file managers (FAR, Total Commander) or hex editors like WinHex.
If you want to see it disassembled - use disassembler. IDA, hiew, etc.
Or, start OllyDbg, than in menu select View -> File .
Also, there is PE file header view mode (right mouse button (RMB) -> Special -> PE header). You can edit (RMB -> Binary -> Edit) and save file (RMB -> save) too.
You can read this in OllyDbg help, "Tips and tricks", 1st line.