rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.53k stars 342 forks source link

Allow `rz-find` to use the Yara plugin for searching among files #4406

Open XVilka opened 3 months ago

XVilka commented 3 months ago

Currently, rizin has the Yara plugin: https://github.com/rizinorg/rz-libyara Also, rz-find is able to search among directories and files recursively.

We should allow rz-find to use Yara signatures as well if rz-libyara is installed.

LukeTheEngineer commented 3 months ago

Seems like something nice for the backburner. I'll look into it.

XVilka commented 2 months ago

One way to approach this would be modifying rz-libyara plugin to use the RzIO instead of the RzCore, and RzIO is easily accessible in librz/main/rz-diff.c file.