|
|
发表于 2013-6-29 01:08:45
|
显示全部楼层
本帖最后由 bluepizza 于 2013-6-29 01:30 编辑
win8.1的 自己找出来了
- @echo off
- rem 清理原有文件
- del bootmgr_*
- rem 开始工作
- hacktool decomp -o 0x68a0 bootmgr bootmgr_.exe
- hacktool subfile -s 0 -e 0x68a0 bootmgr bootmgr_.head
- hacktool subfile -s 0x68b0 -e +0x2000 bootmgr bootmgr_t.bin
- rem 允许任意文件以{ntldr}方式运行 ImgPcatIsLegacyLoaderImage
- hacktool patch bootmgr_.exe -v 0x0043654A c:33c040c3
- rem 禁止完整性检查 BmFwVerifySelfIntegrity
- hacktool patch bootmgr_.exe -v 0x00406A7D c:33c0c3
- rem 修改boot目录名,这里以改成blue为例
- hacktool patch bootmgr_.exe -o 0x8a334 su:"\blue"
- hacktool patch bootmgr_.exe -o 0x8a384 su:"\blue\BCD "
- hacktool patch bootmgr_.exe -o 0x8c690 su:"\blue\FONTS "
- hacktool fixchk bootmgr_.exe
- rem 压缩
- hacktool comp -f XH -h bootmgr_.exe bootmgr_c.dat
- hacktool subfile -o 0x10 bootmgr_t.bin bootmgr_c.dat
- rem 合并文件
- copy /b bootmgr_.head + bootmgr_c.dat bootmgr.win8.1
复制代码 |
|