RAFIND2(1) General Commands Manual RAFIND2(1) (NAME) rafind2 - (SYNOPSIS) rafind2 [-mBXnzZhqv] [-a align] [-b size] [-f from] [-t to] [-[e|s|S] str] [-x hex] [-E] [-F file] [-g] [-i] [-I str] [-j] [-L] [-M str] [-R str] [-r] [-c] [-V s:num | s:num1,num2] -|file|dir ... (DESCRIPTION) . : -a align -b size -B (Big-endian) (Little-endian) ( -V ) -c ( -X) -e regex (regex) ( ) -E ESIL -f from 'from' -F file -g ( -R) -h -i (r2 -nqcpm file) -I str rbin ( arch/type/bits/...) -j JSON -L / (IO) ( r2) -m (Magic search) (file-type carver) -M str -R str ( h: w: s: ) -n -r radare -s str ( ) -S str (wide string) ( ) -t to 'to' -q : -v -V s:num | s:num1,num2 (-V 4:123 -V 4:100,200) -x hex (909090) (41.42) ( ) -X (hexdump) -z (zero- terminated) -Z (ENVIRONMENT) rafind2 . (EXAMPLES) : $ rafind2 -s "search_string" file.txt : $ rafind2 -x "909090" directory_path ( ): $ rafind2 -x "41.42" file.bin : $ rafind2 -i binary_file 123 Little-endian : $ rafind2 -V 4:123 file.bin (100-200) : $ rafind2 -V 4:100,200 file.bin : $ rafind2 -zZ file.bin (regex): $ rafind2 -e "password|passwd" file.txt : $ rafind2 -X -s "hello" file.bin : $ rafind2 -s "old" -R "new" file.bin (SEE ALSO) radare2(1) (AUTHORS) pancake February 4, 2026