aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6848c30609a11ec6d89d57eece17c88fe18c45e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# YARA compiler

This compiler takes YARA rules in JSON format and compiles it into binary YAC files.
They are simpler to handle in external and embedded applications.

## Usage

```
usage: yara-compiler.py [-h] [-i [INPUT_DIRECTORY]] [-o [OUTPUT]] [-f [INPUT_FILE]] [-v]

Compile single or multiple yara files

options:
  -h, --help            show this help message and exit
  -i [INPUT_DIRECTORY], --input-directory [INPUT_DIRECTORY]
                        Input directory (default: .)
  -o [OUTPUT], --output [OUTPUT]
                        Output file or directory (default: .)
  -f [INPUT_FILE], --input-file [INPUT_FILE]
                        Input file (default: .)
  -v, --verbose         Verbosity level
```