mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
7f5a84b57a
rasm2 defaults -o to 0 instead of 0x8048000 fixes in rarun2 to make it more userfriendly update some manpages with examples enhace output of 'afi' command fix 'pi' bug setting blocksize fix 'pdi' bug ignoring user defined len add $C $J $X and $F $I code analysis variables run r2irc.js in sandbox mode
61 lines
1.5 KiB
Groff
61 lines
1.5 KiB
Groff
.Dd Mar 12, 2010
|
|
.Dt HASHER2 1
|
|
.Os
|
|
.Sh NAME
|
|
.Nm hasher2
|
|
.Nd block based hashing utility
|
|
.Sh SYNOPSIS
|
|
.Nm hasher2
|
|
.Op Fl hBrv
|
|
.Op Fl a Ar algorithm
|
|
.Op Fl b Ar size
|
|
.Op Fl s Ar string
|
|
.Op Fl f Ar from
|
|
.Op Fl t Ar to
|
|
.Op [file] ...
|
|
.Sh DESCRIPTION
|
|
This program is part of the radare project.
|
|
.Pp
|
|
Hasher allows you to calculate, check and show the hash values of each block of a target file. The block size is 32768 bytes by default. It's allowed to hash from stdin using '-' as a target file.
|
|
.Pp
|
|
You can hash big files by hashing each block and later determine what part of it has been modified. Useful for filesystem analysis.
|
|
.Pp
|
|
This command can be used to calculate hashes of a certain part of a file or a command line passed string.
|
|
.Pp
|
|
This is the command used by the '#' command of radare.
|
|
.Bl -tag -width Fl
|
|
.It Fl a Ar algo
|
|
Select an algorithm for the hashing. Valid values are md5, crc32 and sha1
|
|
.It Fl b Ar block size
|
|
Define the block size
|
|
.It Fl B
|
|
Show per-block hash
|
|
.It Fl s Ar string
|
|
Hash this string instead of using the 'source' and 'hash-file' arguments.
|
|
.It Fl f Ar from
|
|
Start hashing at given address
|
|
.It Fl t Ar to
|
|
Stop hashing at given address
|
|
.It Fl r
|
|
Show output in radare commands
|
|
.It Fl v
|
|
Show version information
|
|
.It Fl h
|
|
Show usage help message.
|
|
.El
|
|
.Sh SEE ALSO
|
|
.Pp
|
|
.Xr radare2(1) ,
|
|
.Xr rafind2(1) ,
|
|
.Xr rahash2(1) ,
|
|
.Xr rabin2(1) ,
|
|
.Xr radiff2(1) ,
|
|
.Xr rasm2(1) ,
|
|
.Xr ragg2(1) ,
|
|
.Xr rarun2(1) ,
|
|
.Xr rax2(1) ,
|
|
.Sh AUTHORS
|
|
.Pp
|
|
pancake <pancake@nopcode.org>,
|
|
nibble <nibble@develsec.org>
|