最近帮朋友写些工具,研究了下加密狗.

目前有两种硬件,一种是U盘形状(成本0.8),一种是无线鼠标接收器形状.(成本1.8)


 


          ------ String Descriptor 0 ------
bLength                  : 0x04 (4 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language ID[0]           : 0x0409 (English - United States)
Data (HexDump)           : 04 03 09 04                                       ....
             ------ String Descriptor 1 ------
bLength                  : 0x1A (26 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "HID Keyboard"
Data (HexDump)           : 1A 03 48 00 49 00 44 00 20 00 4B 00 65 00 79 00   ..H.I.D. .K.e.y.
                           62 00 6F 00 61 00 72 00 64 00                     b.o.a.r.d.
             ------ String Descriptor 2 ------
bLength                  : 0x1E (30 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "eHome USB V1.0"
Data (HexDump)           : 1E 03 65 00 48 00 6F 00 6D 00 65 00 20 00 55 00   ..e.H.o.m.e. .U.
                           53 00 42 00 20 00 56 00 31 00 2E 00 30 00         S.B. .V.1...0.
             ------ String Descriptor 4 ------
bLength                  : 0x1E (30 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "eHome USB V1.0"
Data (HexDump)           : 1E 03 65 00 48 00 6F 00 6D 00 65 00 20 00 55 00   ..e.H.o.m.e. .U.
                           53 00 42 00 20 00 56 00 31 00 2E 00 30 00         S.B. .V.1...0.

 

 

U盘形状数据

 

 

             ------ String Descriptor 0 ------
bLength                  : 0x04 (4 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language ID[0]           : 0x0409 (English - United States)
Data (HexDump)           : 04 03 09 04                                       ....
             ------ String Descriptor 1 ------
bLength                  : 0x0A (10 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "SAGE"
Data (HexDump)           : 0A 03 53 00 41 00 47 00 45 00                     ..S.A.G.E.
             ------ String Descriptor 2 ------
bLength                  : 0x1C (28 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "SAGE AirMouse"
Data (HexDump)           : 1C 03 53 00 41 00 47 00 45 00 20 00 41 00 69 00   ..S.A.G.E. .A.i.
                           72 00 4D 00 6F 00 75 00 73 00 65 00               r.M.o.u.s.e.
             ------ String Descriptor 3 ------
bLength                  : 0x2A (42 bytes)
bDescriptorType          : 0x03 (String Descriptor)
Language 0x0409          : "濃獲㉙⫤°°°°°°°°°°°°°°°°"  *!*ERROR  contains 16 NULL characters
Data (HexDump)           : 2A 03 C3 6F 72 73 59 32 E4 2A 00 00 00 00 00 00   *..orsY2.*......
                           00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
                           00 00 00 00 00 00 00 00 00 00                     ..........

 

 

 

 无线鼠标接收器形状数据