Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F
00000000 4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF 00 00 MZ?..........
00000010 B8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 ?......@.......
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 00 00 ............?..
00000040 0E 1F BA 0E 00 B4 09 CD 21 B8 01 4C CD 21 54 68 ..?.???L?Th
00000050 69 73 20 70 72 6F 67 72 61 6D 20 63 61 6E 6E 6F is program canno
00000060 74 20 62 65 20 72 75 6E 20 69 6E 20 44 4F 53 20 t be run in DOS
00000070 6D 6F 64 65 2E 0D 0D 0A 24 00 00 00 00 00 00 00 mode....$.......
00000080 8D 44 CE 8E C9 25 A0 DD C9 25 A0 DD C9 25 A0 DD 岲螏?犦?犦?犦
00000090 AB 3A B3 DD CD 25 A0 DD 4A 39 AE DD C8 25 A0 DD ?齿?犦J9?犦
000000A0 A6 3A AA DD C2 25 A0 DD A6 3A A4 DD CB 25 A0 DD ??犦?ぽ?犦
000000B0 FF 03 A4 DD CA 25 A0 DD C9 25 A1 DD BA 25 A0 DD .ぽ?犦?≥?犦
000000C0 FF 03 AB DD CF 25 A0 DD 0E 23 A6 DD C8 25 A0 DD .?犦.#?犦
000000D0 52 69 63 68 C9 25 A0 DD 00 00 00 00 00 00 00 00 Rich?犦........
000000E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
将开头的 4D 5A 90 00 03 00 改为
4D 5A 00 01 01 00
之后,在纯DOS下就会显示 ' This program cannot be run in DOS mode '
在 Win 下会一闪而过
第一个问题:将开头的 4D 5A 90 00 03 00 改为
4D 5A 00 01 01 00
表示什么意思?(Baidu + Google 很久没找着),希望有人提供相关的资料
第二个问题:有无办法,将上面从PE提取出来的DOS头改一下, 让它在Win下也会显示
' This program cannot be run in DOS mode '
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)