1RAFIND2(1) BSD General Commands Manual RAFIND2(1)
2
4 rafind2 — Advanced command-line hexadecimal editor
5
7 rafind2 [-cijzZXLnrhqv] [-b size] [-f from] [-F file] [-t to]
8 [-[m|s|e] str] [-x hex] file|dir
9
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 -e regex Search for a regular expression string matches
28
29 -x hex Search for an hexpair string
30
31 -i Identify filetype (like file, uses r2 -qcpm)
32
33 -L List available IO plugins
34
35 -m Carve for known file-types using the r_magic signatures
36
37 -M mask Set binary mask to be applied
38
39 -f from Specify the source adddress
40
41 -F file Read the keyword to search from the contents of the given
42 file
43
44 -t to Specify the target adddress
45
46 -X Display hexdump of search results
47
48 -Z Display zero-terminated strings results
49
50 -n Do not stop the search when a read error occurs
51
52 -r Show output in radare commands
53
54 -b size Define block size
55
56 -q Quiet mode - do not show headings (filenames) above matching
57 contents (default for searching a single file)
58
59 -h Show help message
60
61 -v Print version and exit
62
64 radare2(1)
65
67 pancake <pancake@nopcode.org>
68
69 Jun 24, 2021