第三步。写入失败
rawwrite dd for windows version 0.6beta3.
Written by John Newbigin <jn@it.swin.edu.au>
This program is covered by terms of the GPL Version 2.
0M Error writing file: 5 拒绝访问。
0M
1+0 records in
0+0 records out
以下是正确和错误加密狗的dd list
正常加密狗
\\?\Device\Harddisk1\Partition0
link to \\?\Device\Harddisk1\DR5
Removable media other than floppy. Block size = 512
size is 23687168 bytes
\\?\Device\Harddisk1\Partition1
link to \\?\Device\Harddisk1\DP(1)0-0+7
Removable media other than floppy. Block size = 512
size is 23670784 bytes
\\?\Device\Harddisk2\Partition0
link to \\?\Device\Harddisk2\DR9
Removable media other than floppy. Block size = 512
size is 502697984 bytes
\\?\Device\Harddisk2\Partition1
link to \\?\Device\Harddisk2\DP(1)0-0+a
Removable media other than floppy. Block size = 512
size is 502681600 bytes
出错加密狗
\\?\Device\Harddisk1\Partition0
link to \\?\Device\Harddisk1\DR11
Removable media other than floppy. Block size = 512
size is 24279552 bytes
\\?\Device\Harddisk1\Partition1
link to \\?\Device\Harddisk1\DP(1)0-0+d
Removable media other than floppy. Block size = 512
size is 24263168 bytes
\\?\Device\Harddisk2\Partition0
link to \\?\Device\Harddisk2\DR12
Removable media other than floppy. Block size = 512
size is 503547392 bytes
\\?\Device\Harddisk2\Partition1
link to \\?\Device\Harddisk2\DP(1)0-0+e
Removable media other than floppy. Block size = 512
size is 502681600 bytes
或者delphi 写一个
var
fins,fouts:tfilestream;
begin
try
fins := tfilestream.create('\\.\physicaldrive1',fmsharedenynone or fmopenread); //号码根据硬盘序号定,在磁盘管理器里查
fouts := tfilestream.create('\\.\physicaldrive2',fmsharedenynone or fmopenreadwrite);
fouts.CopyFrom(fins,fins.Size);
finally
fins.free;
fouts.free;
end;
end;