alastair@PC-I5 ~/cctv/NVRFirmware/nguyen/cramfs $ ll gui*
-rw-r--r-- 1 alastair alastair 1394448 Aug 28 03:23 gui_res.tar.lzma
alastair@PC-I5 ~/cctv/NVRFirmware/nguyen/cramfs $ file gui*
gui_res.tar.lzma: data
alastair@PC-I5 ~/cctv/NVRFirmware/nguyen/cramfs $ 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/nguyen/cramfs $ hikpack_2.5 -t k41 -d gui_res.tar.lzma -o dec_gui_res.tar.lzma
alastair@PC-I5 ~/cctv/NVRFirmware/nguyen/cramfs $ file dec*
dec_gui_res.tar.lzma: LZMA compressed data, streamed
alastair@PC-I5 ~/cctv/NVRFirmware/nguyen/cramfs $