Scroll to navigation

RAFIND2(1) General Commands Manual RAFIND2(1)

NAME

rafind2advanced command-line byte pattern search in files

SYNOPSIS

rafind2 [-cijzZXLnrhqv] [-b size] [-f from] [-F file] [-t to] [-[m|s|e] str] [-V s:val] [-x hex] file|dir

DESCRIPTION

rafind2 is a program to find byte patterns in files

The options are:

Disable colorful output (for -X and such)
Search for zero-terminated strings
Output in JSON format
align
Only accept aligned hits
str
Search for a specific string
str
Search for a specific wide string
size:value
Search for a little-endian value of given size. For example -V 4:123
regex
Search for regular expression string matches
hex
Search for an hexpair string
Identify file type (like file, uses r2 -qcpm)
List available IO plugins
Carve for known file types using the r_magic signatures
mask
Set binary mask to be applied
from
Specify the source address
file
Read the keyword to search from the contents of the given file
to
Specify the target address
Display hexdump of search results
Display zero-terminated strings results
Do not stop the search when a read error occurs
Show output in radare commands
size
Define block size
Quiet mode - do not show headings (filenames) above matching contents (default for searching a single file)
Show help message
Print version and exit

SEE ALSO

radare2(1)

AUTHORS

pancake <pancake@nopcode.org>

June 24, 2021