Skip to content

Commit

Permalink
Update Yara doc and remove old script
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kochkov committed May 15, 2016
1 parent 33fd281 commit fda6f74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
10 changes: 5 additions & 5 deletions doc/yara.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Requirements
------------

You can either install libyara with your prefered package manager, or you
can execute sys/yara.sh in order to retrieve latest source, compile, and
install the library.
can execute `r2pm -i yara3-lib` and `r2pm -i yara3` in order to retrieve
latest source, compile, and install the library.

Yara in radare2
----------
Expand All @@ -44,13 +44,13 @@ Example

Load a rule file on the fly, and then scan the currently opened file:
```
yara add /home/name/rules/malware.rules
yara scan
yara3 add /home/name/rules/malware.rules
yara3 scan
```
Yara versions
-------------

Because radare2 has support for both yara versions currently,
Because radare2 has support for both yara versions currently,
depending from the version/plugin you've loaded, you need
to use the proper versioned command.
E.g. `yara2` or `yara3`. For example `yara3 scan`.
6 changes: 0 additions & 6 deletions sys/yara3.sh

This file was deleted.

0 comments on commit fda6f74

Please sign in to comment.