2015-10-19 01:58:16 +00:00
|
|
|
.Dd Oct 19, 2015
|
2014-09-30 09:01:45 +00:00
|
|
|
.Dt RAFIND2 1
|
2014-09-30 09:37:26 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm rafind2
|
|
|
|
.Nd Advanced commandline hexadecimal editor
|
2010-06-18 15:52:30 +00:00
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm rafind2
|
2019-05-11 16:41:59 +00:00
|
|
|
.Op Fl ijzZXnrhqv
|
2011-12-02 02:43:08 +00:00
|
|
|
.Op Fl b Ar size
|
2010-06-18 15:52:30 +00:00
|
|
|
.Op Fl f Ar from
|
|
|
|
.Op Fl t Ar to
|
2011-12-02 02:43:08 +00:00
|
|
|
.Op Fl [m|s|e] Ar str
|
2010-06-18 15:52:30 +00:00
|
|
|
.Op Fl x Ar hex
|
2018-06-30 11:18:00 +00:00
|
|
|
.Ar file|dir
|
2010-06-18 15:52:30 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
rafind2 is a program to find byte patterns into files
|
|
|
|
.Pp
|
|
|
|
The options are:
|
|
|
|
.Bl -tag -width Fl
|
|
|
|
.It Fl z
|
|
|
|
Search for zero-terminated strings
|
2019-05-11 16:41:59 +00:00
|
|
|
.It Fl j
|
|
|
|
Output in JSON format
|
2015-10-18 21:32:33 +00:00
|
|
|
.It Fl a Ar align
|
|
|
|
Only accept aligned hits
|
2010-06-18 15:52:30 +00:00
|
|
|
.It Fl s Ar str
|
|
|
|
Search for a specific string
|
2015-02-04 21:19:17 +00:00
|
|
|
.It Fl S Ar str
|
|
|
|
Search for a specific wide string
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl e Ar regex
|
|
|
|
Search for a regular expression string matches
|
2010-06-18 15:52:30 +00:00
|
|
|
.It Fl x Ar hex
|
|
|
|
Search for an hexpair string
|
2017-08-01 13:27:11 +00:00
|
|
|
.It Fl i
|
|
|
|
Identify filetype (like file, uses r2 -qcpm)
|
2015-10-19 01:58:16 +00:00
|
|
|
.It Fl m
|
|
|
|
Carve for known file-types using the r_magic signatures
|
|
|
|
.It Fl M Ar mask
|
2011-12-02 02:43:08 +00:00
|
|
|
Set binary mask to be applied
|
2010-06-18 15:52:30 +00:00
|
|
|
.It Fl f Ar from
|
|
|
|
Specify the source adddress
|
|
|
|
.It Fl t Ar to
|
|
|
|
Specify the target adddress
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl X
|
|
|
|
Display hexdump of search results
|
2013-02-14 19:08:42 +00:00
|
|
|
.It Fl Z
|
|
|
|
Display zero-terminated strings results
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl n
|
|
|
|
Do not stop the search when a read error occurs
|
|
|
|
.It Fl r
|
|
|
|
Show output in radare commands
|
|
|
|
.It Fl b Ar size
|
|
|
|
Define block size
|
2018-06-30 11:29:38 +00:00
|
|
|
.It Fl q
|
|
|
|
Quiet mode - do not show headings (filenames) above matching contents (default for searching a single file)
|
2011-12-02 02:43:08 +00:00
|
|
|
.It Fl h
|
|
|
|
Show help message
|
|
|
|
.It Fl v
|
|
|
|
Print version and exit
|
2010-06-18 15:52:30 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Pp
|
|
|
|
.Xr radare2(1) ,
|
|
|
|
.Xr rahash2(1) ,
|
|
|
|
.Xr rabin2(1) ,
|
|
|
|
.Xr radiff2(1) ,
|
|
|
|
.Xr rasm2(1) ,
|
2011-10-12 01:24:19 +00:00
|
|
|
.Xr ragg2(1) ,
|
|
|
|
.Xr rarun2(1) ,
|
2010-06-18 15:52:30 +00:00
|
|
|
.Xr rax2(1) ,
|
|
|
|
.Sh AUTHORS
|
|
|
|
.Pp
|
2013-11-11 11:00:39 +00:00
|
|
|
pancake <pancake@nopcode.org>
|