RZ-FIND(1)
π NAME π
rz-find β Find byte patterns in files. Bestie, this is the whole RZ_FIND(1) manual, and it is literally here to help you find byte patterns in files. No cap.
β¨ SYNOPSIS β¨
rz-find [-hijmnrqvxzZ] [-a align] [-b size] [-f/t from/to]
[-[e|s|w|S|I] str] [-x hex] [-|file|dir ..]
πΈ DESCRIPTION πΈ
Okay so first thing: this command is part of the Rizin project β periodt. rz-find searches for the specified byte patterns, strings, or hexpairs in the given files. It's giving "where are those bytes hiding" main character energy, and we love that for you π
π The options are:
-a alignβ Only accept aligned hits. Alignment girlies, this one is for you β¨-b sizeβ Set block size. Pick your block size, bestie π-e regexβ Search for regex matches (can be used multiple times). Regex stans stay winning π-f fromβ Start searching from address'from'. Yes, from that address exactly.-F fileβ Read the contents of the file and use it as a keyword. Iconic behavior, ngl.-hβ Show usage help message. The classic "help me bestie" button π«Ά-iβ Identify filetype (rizin -nqcpm file). Literally a filetype vibe check π-jβ Output in JSON. For the structured-data girlies β¨-mβ Magic search, file-type carver. Spooky little file-type carver behavior π₯-M strβ Set a binary mask to be applied on keywords. Mask on, mask off, you know how it is π-nβ Do not stop the search when a read error occurs. Keep going, bestie, even when reading gets messy π-rβ Print using rizin commands. Rizin-command-core fr fr.-s strβ Search for a specific string (can be used multiple times). Stack those strings, queen π-w strβ Search for a specific wide string (can be used multiple times). Assumesstris UTF-8. Wide-string moment, no cap.-I strβ Search for an entry in import table. Import table sleuthing, iykyk π¦-S strβ Search for a symbol in symbol table. Symbol table girlies rise πΈ-t toβ Stop search at address'to'. That's the cutoff, bestie.-qβ Quiet mode - do not show headings (filenames) above matching contents (default for searching a single file). Shhh, it's giving stealth mode π-vβ Show version information. Version check, because we stay informed β-x hexβ Search for an hexpair string (can be used multiple times). Hexpair hunting, let's go π₯-Xβ Show hexdump of search results. Hexdump reveal, iconic π-zβ Search for zero-terminated strings. Zero-terminated string search, periodt.-Zβ Show string found on each search hit. Every hit gets its string moment β¨-E commandβ Execute<command>for each file found. Do the thing for every file you find, bestie.
π«Ά SEE ALSO π«Ά
Go check out these other icons when you're done: rizin(1), rz-hash(1), rz-bin(1), rz-diff(1), rz-asm(1), rz-gg(1), rz-run(1), rz-ax(1). They're all in the group chat too π«Ά
π AUTHORS π
This page was brought to you by:
pancake <pancake@nopcode.org>byteninjaa0
And that's the whole RZ_FIND(1) manual, dated Jan 24, 2024 β now go find those bytes, bestie π
π¦β¨
π¦ where this page comes from
- arch rolling: rizin 0.8.2-2 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC-PDDC AND CC0-1.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND MIT
- nixos 26.05: rizin 0.8.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms