迅维网
标题:
自己用winhex模索写了一个海康硬盘被格式化后恢复录像的脚本
[打印本页]
作者:
李绍展
时间:
2025-5-13 21:56
标题:
自己用winhex模索写了一个海康硬盘被格式化后恢复录像的脚本
// 海康录像机硬盘数据恢复脚本(修正版)
assign m1 1
assign m4 1
assign m5 1
assign m6 1
assign m7 1
open :? // 必须先打开磁盘
assign disksize getsize
goto 0x0f03d6e5ff0
Label L1
find 0x484B000000000000 down
iffound
assign m2 currentpos
move 4096
endif
{
find 0x484B000000000000 down
iffound
move 4096
endif
}[1200]
move -1
assign m3 currentpos
block m2 m3
ifgreater m1 254
copyintonewfile "H:\mp4\recovered_+m4+m1+.mp4"
inc m4
jumpto L1
endif
ifgreater m4 254
copyintonewfile "H:\mp4\recovered_+m4+m1+m5+.mp4"
inc m5
jumpto L1
endif
ifgreater m5 254
copyintonewfile "H:\mp4\recovered_+m4+m1+m5+m6+.mp4"
inc m6
jumpto L1
endif
ifgreater m6 254
copyintonewfile "H:\mp4\recovered_+m4+m1+m5+m6+m7+.mp4"
inc m7
jumpto L1
endif
copyintonewfile "H:\mp4\recovered_+m1+.mp4"
inc m1
jumpto L1
登录/注册后看高清大图
作者:
XHqiao
时间:
2025-5-14 10:28
大神一般的存在
欢迎光临 迅维网 (https://www.chinafix.com/)
Powered by Discuz! X3.4