1RAFIND2(1)                BSD General Commands Manual               RAFIND2(1)
2

NAME

4     rafind2 — Advanced commandline hexadecimal editor
5

SYNOPSIS

7     rafind2 [-ijzZXnrhqv] [-b size] [-f from] [-t to] [-[m|s|e] str] [-x hex]
8             file|dir
9

DESCRIPTION

11     rafind2 is a program to find byte patterns into files
12
13     The options are:
14
15     -z          Search for zero-terminated strings
16
17     -j          Output in JSON format
18
19     -a align    Only accept aligned hits
20
21     -s str      Search for a specific string
22
23     -S str      Search for a specific wide string
24
25     -e regex    Search for a regular expression string matches
26
27     -x hex      Search for an hexpair string
28
29     -i          Identify filetype (like file, uses r2 -qcpm)
30
31     -m          Carve for known file-types using the r_magic signatures
32
33     -M mask     Set binary mask to be applied
34
35     -f from     Specify the source adddress
36
37     -t to       Specify the target adddress
38
39     -X          Display hexdump of search results
40
41     -Z          Display zero-terminated strings results
42
43     -n          Do not stop the search when a read error occurs
44
45     -r          Show output in radare commands
46
47     -b size     Define block size
48
49     -q          Quiet mode - do not show headings (filenames) above matching
50                 contents (default for searching a single file)
51
52     -h          Show help message
53
54     -v          Print version and exit
55

SEE ALSO

57     radare2(1), rahash2(1), rabin2(1), radiff2(1), rasm2(1), ragg2(1),
58     rarun2(1), rax2(1),
59

AUTHORS

61     pancake <pancake@nopcode.org>
62
63                                 Oct 19, 2015
Impressum