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

NAME

4     rafind2 — Advanced command-line hexadecimal editor
5

SYNOPSIS

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

DESCRIPTION

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

SEE ALSO

68     radare2(1)
69

AUTHORS

71     pancake <pancake@nopcode.org>
72
73                                 Jun 24, 2021
Impressum