radare2/man/rafind2.1

74 lines
1.6 KiB
Groff
Raw Normal View History

.Dd Jun 24, 2021
2014-09-30 11:01:45 +02:00
.Dt RAFIND2 1
2014-09-30 11:37:26 +02:00
.Sh NAME
.Nm rafind2
2021-05-25 10:51:18 +02:00
.Nd Advanced command-line hexadecimal editor
.Sh SYNOPSIS
.Nm rafind2
.Op Fl cijzZXLnrhqv
2011-12-02 03:43:08 +01:00
.Op Fl b Ar size
.Op Fl f Ar from
.Op Fl F Ar file
.Op Fl t Ar to
2011-12-02 03:43:08 +01:00
.Op Fl [m|s|e] Ar str
.Op Fl x Ar hex
.Ar file|dir
.Sh DESCRIPTION
rafind2 is a program to find byte patterns into files
.Pp
The options are:
.Bl -tag -width Fl
.It Fl c
Disable colorful output (for -X and such)
.It Fl z
Search for zero-terminated strings
.It Fl j
Output in JSON format
2015-10-18 23:32:33 +02:00
.It Fl a Ar align
Only accept aligned hits
.It Fl s Ar str
Search for a specific string
.It Fl S Ar str
Search for a specific wide string
2011-12-02 03:43:08 +01:00
.It Fl e Ar regex
Search for a regular expression string matches
.It Fl x Ar hex
Search for an hexpair string
.It Fl i
Identify filetype (like file, uses r2 -qcpm)
.It Fl L
List available IO plugins
2015-10-19 03:58:16 +02:00
.It Fl m
Carve for known file-types using the r_magic signatures
.It Fl M Ar mask
2011-12-02 03:43:08 +01:00
Set binary mask to be applied
.It Fl f Ar from
Specify the source adddress
.It Fl F Ar file
Read the keyword to search from the contents of the given file
.It Fl t Ar to
Specify the target adddress
2011-12-02 03:43:08 +01:00
.It Fl X
Display hexdump of search results
.It Fl Z
Display zero-terminated strings results
2011-12-02 03:43:08 +01: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
.It Fl q
Quiet mode - do not show headings (filenames) above matching contents (default for searching a single file)
2011-12-02 03:43:08 +01:00
.It Fl h
Show help message
.It Fl v
Print version and exit
.El
.Sh SEE ALSO
.Pp
.Xr radare2(1)
.Sh AUTHORS
.Pp
pancake <pancake@nopcode.org>