sigfind1
Find a binary signature in a file
Usage
sigfind [-b
bsize]
[-o
offset]
[-t
template]
[-lV]
[hex_signature]
file
Overview
sigfind searches through a file and looks for the hex_signature at a given offset. This can be used to search for lost boot sectors, superblocks, and partition tables.
Arguments
- -b bsize
-
Specify the block size in which to search. The default is 512 and the value must be a multiple of 512.
- -o offset
-
Specify the offset in a block in which the signature must exist. The default is 0.
- -t template
-
Specify a template name that defines the signature value and offset. Run with no options to get a list of supported templates.
- -l
-
The signature is stored in little-endian ordering and must therefore be reversed.
- -V
-
Display version
- [hex_signature]
-
The binary signature that you are searching for. It must be given in hexadecimal format. This argument must exist if -t is not used.
- file
-
Any raw data.
Examples
sigfind -o 510 -l AA55 disk.dd
sigfind -t fat disk.dd
History
- Arch Linux 2026-11-01 to Debian 6.0 (Squeeze): the text shown here
- Debian 5.0 (Lenny) to Debian 3.1 (Sarge)
-V until Debian 5.0 (Lenny);
-b until Debian 5.0 (Lenny);
-l until Debian 5.0 (Lenny);
-o until Debian 5.0 (Lenny);
-t until Debian 5.0 (Lenny).