无忧启动论坛

标题: 关于bootmgr的修改有问 [打印本页]

作者: xzf680    时间: 2015-1-26 20:15
标题: 关于bootmgr的修改有问
本帖最后由 xzf680 于 2015-7-29 00:32 编辑
  1. @echo off

  2. rem 清理原有文件
  3. del bootmgr_*

  4. rem 开始工作
  5. hacktool decomp -o 0x68a0 bootmgr bootmgr_.exe
  6. hacktool subfile -s 0 -e 0x68a0 bootmgr bootmgr_.head
  7. hacktool subfile -s 0x68b0 -e +0x2000 bootmgr bootmgr_t.bin

  8. rem 允许任意文件作为ntldr运行 ImgPcatIsLegacyLoaderImage : return true
  9. hacktool  patch bootmgr_.exe -v 0x04324B9 c:33c040c3

  10. rem 禁止完整性检查 BmFwVerifySelfIntegrity : return ERROR_SUCCESS
  11. hacktool  patch bootmgr_.exe -v 0x04067AB c:33c0c3

  12. rem 修改boot目录名,这里以改成king为例
  13. hacktool patch bootmgr_.exe -o 0x78a08 su:\King
  14. hacktool patch bootmgr_.exe -o 0x78a5c su:\King\KIN
  15. hacktool patch bootmgr_.exe -o 0x7d3c0 su:\King\Fonts


  16. rem 修正checksum
  17. hacktool fixchk bootmgr_.exe

  18. rem 压缩
  19. hacktool comp -f XH -h bootmgr_.exe bootmgr_c.dat
  20. hacktool subfile -o 0x10  bootmgr_t.bin bootmgr_c.dat

  21. rem 合并文件
  22. copy /b bootmgr_.head + bootmgr_c.dat BOOTMGR.重命名
复制代码


修改后不能启动,怎么修改呢?
下面这代码又是什么意思?
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 : return true
hacktool  patch bootmgr_.exe -v 0x04324B9 c:33c040c3

rem 禁止完整性检查 BmFwVerifySelfIntegrity : return ERROR_SUCCESS
hacktool  patch bootmgr_.exe -v 0x04067AB c:33c0c3

帮忙修改一下,授于是最好不过了,谢谢!

QQ截图20150126195555.png (87.32 KB, 下载次数: 45)

winhex截图

winhex截图

BOOTMGR.zip

334.1 KB, 下载次数: 8, 下载积分: 无忧币 -2






欢迎光临 无忧启动论坛 (http://wuyou.net/) Powered by Discuz! X3.3