1RAFIND2(1) BSD General Commands Manual RAFIND2(1)
2
4 rafind2 — Advanced commandline hexadecimal editor
5
7 rafind2 [-ijzZXnrhqv] [-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 -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 -F file Read the keyword to search from the contents of the given
38 file
39
40 -t to Specify the target adddress
41
42 -X Display hexdump of search results
43
44 -Z Display zero-terminated strings results
45
46 -n Do not stop the search when a read error occurs
47
48 -r Show output in radare commands
49
50 -b size Define block size
51
52 -q Quiet mode - do not show headings (filenames) above matching
53 contents (default for searching a single file)
54
55 -h Show help message
56
57 -v Print version and exit
58
60 radare2(1), rahash2(1), rabin2(1), radiff2(1), rasm2(1), ragg2(1),
61 rarun2(1), rax2(1),
62
64 pancake <pancake@nopcode.org>
65
66 Jun 24, 2020