Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
367 views
in Technique[技术] by (71.8m points)

hexdump - How to find header signature of xlsb files?

I need to recover some xlsb files using Foremost forensic tool and for that i need to edit config file and enter header bytes.

Using hexdump test.xlsb | head i got this:

0000000 4b50 0403 0014 0006 0008 0000 0021 85d9
0000010 636e 0181 0000 0463 0000 0013 0208 435b
0000020 6e6f 6574 746e 545f 7079 7365 2e5d 6d78
0000030 206c 04a2 2802 00a0 0002 0000 0000 0000
0000040 0000 0000 0000 0000 0000 0000 0000 0000
*
0000230 0000 0000 0000 0000 9400 cb54 c34e 1030
0000240 23bc 0ff1 af91 7628 01cb d421 07b4 1228
0000250 a817 1144 d767 34de 1d51 f2db 25ba 7bfd
0000260 e936 5043 a9b5 8972 d895 b333 de33 68cd

and i need to extract value like this xffxd8xffxe1(this is .jpg example header).

Can someone help me with this, since i am not an expert in this field? Thanks in advance.

EDIT

I am answering my own question. Use head --bytes 8 file.extension | hexdump -C

question from:https://stackoverflow.com/questions/65644845/how-to-find-header-signature-of-xlsb-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...