alastair@PC-I5 ~/cctv/NVRFirmware/3.4.96/NVR_K51_BL_ML_STD_V3.4.96_170921 $ hikpack_2.5
hikpack v2.5 Hikvision firmware packer/unpacker by montecrypto
*** No expressed or implied warranties of any kind. Use at your own risk ***
Usage:
hikpack -t <fwtype> -i <src_dav_file> print dav file information
hikpack -t <fwtype> -x <src_dav_file> -o <dst_dir> extract dav file into directory
hikpack [opts] -t <fwtype> -p <dst_dav_file> -o <src_dir> pack dav file from source directory
hikpack -t <fwtype> -d <src_crypted_file> -o <dst_file> decrypt file
hikpack -t <fwtype> -g <src_crypted_cfg> -o <dst_file> decrypt configuration backup file
hikpack -t <fwtype> -G <src_file> -o <crypted_cfg_file> encrypt configuration backup file (CRC adjusted if needed)
hikpack -t <fwtype> -e <src_file> -o <dst_crypted_file> encrypt file
-t option sets firmware platform type. Currently supported: cameras: r0,r1,r6,g0 nvr: k41,k51
----- The following options are used by the pack (-p) command:
-L <1,2> set language id (1=EN, 2=CN)
-D <YYYYMMDD> set firmware date.
-V <ver> set firmware version. Use hex number, e.g.: 0x05040003 for v5.4.3
If you find this software useful, please donate to support future development:
Bitcoin: 1N9fKwsy7AphUHZJshCp4L7RJG5CvuXnAk
alastair@PC-I5 ~/cctv/NVRFirmware/3.4.96/NVR_K51_BL_ML_STD_V3.4.96_170921 $ hikpack_2.5 -t k51 -p new_digicap.dav -o files
File: start.sh, CRC OK
File: sys_app.tar.lzma, CRC OK
File: webs.tar.lzma, CRC OK
File: uImage, CRC OK
File: gui_res.tar.lzma, CRC OK
File: new_10.bin, CRC OK
Magic : 484b5753
hdr_crc : 0000426f (OK)
lang_id : 00000001
date_hex: 20160606
devclass: 0000003d
=== Tail record:
File: new_20.bin, CRC OK
alastair@PC-I5 ~/cctv/NVRFirmware/3.4.96/NVR_K51_BL_ML_STD_V3.4.96_170921 $ hikpack_2.5 -t k51 -i new_digicap.dav
Magic : 484b5753
hdr_crc : 0000426f (OK)
lang_id : 00000001
date_hex: 20160606
devclass: 0000003d
File: start.sh, CRC OK
File: sys_app.tar.lzma, CRC OK
File: webs.tar.lzma, CRC OK
File: uImage, CRC OK
File: gui_res.tar.lzma, CRC OK
File: new_10.bin, CRC OK
=== Tail record:
File: new_20.bin, CRC OK
alastair@PC-I5 ~/cctv/NVRFirmware/3.4.96/NVR_K51_BL_ML_STD_V3.4.96_170921 $