implantisomd5和checkisomd5

本文介绍了implantisomd5和checkisomd5两个工具的用法、实验过程及代码分析,帮助读者掌握它们在应用中的实现和算法原理。
摘要由CSDN通过智能技术生成
以前每做出一个ISO都会同时生成一个md5值文件,防止复制过程中数据损坏;现使用implantisomd5和checkisomd5两个工具,可以将md5值嵌入ISO中并直接效验,方便不少。

用法:

implantisomd5 xxx.iso
checkisomd5 xxx.iso

$ implantisomd5 test2.iso
Inserting md5sum into iso image...
md5 = 1f7419e5fc8157e3c2a79a8023816454
Inserting fragment md5sums into iso image...
fragmd5 = ded8b32776d8ea11f436df6f6b4171
frags = 20
Setting supported flag to 0


$ checkisomd5 test2.iso
Press [Esc] to abort check.
The media check is complete, the result is: PASS.
It is OK to use this media.


只能植入一次
$ implantisomd5 test2.iso
ERROR: Application data has been used - not implanting md5sum!


实验:

$ mkdir iso
$ echo
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值