help

don nguyen

n3wb
Joined
Jul 9, 2018
Messages
25
Reaction score
0
Location
ptit
i can't extract file gui_res.tar.lzma on fw hikvision
Can anyone help me?
 

Attachments

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,799
Location
Scotland
The file is encrypted - it needs to be decrypted before it can be opened.
The encryption key is firmware-series specific.
 

don nguyen

n3wb
Joined
Jul 9, 2018
Messages
25
Reaction score
0
Location
ptit
i extract fw digicap.dav use hikvisions05R1 -> cramfs.img use 7zip extract cramfs.img
 

Attachments

don nguyen

n3wb
Joined
Jul 9, 2018
Messages
25
Reaction score
0
Location
ptit
[QUOTE = "alastairstevenson, post: 296001, thành viên: 1907"] Đính kèm là tất cả các tệp cramfs đã được giải mã, ngoại trừ uImage vốn có trong bản rõ vì nó là hạt nhân Linux. [/ QUOTE]
thank you
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,799
Location
Scotland
I want to ask you how do you do?
Using @montecrypto hikpack tool, from here : [MCR] Hikvision packer/unpacker for 5.3.x and newer firmware

Code:
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 $
 
Top