@@ -79,39 +79,34 @@ yara_validator_cli.py -h
79
79
| |__| |__| |___ ___) | | |/ ___ \| _ < / ___ \
80
80
\____\____\____|____/ |_/_/ \_\_| \_\/_/ \_\
81
81
82
- usage: yara_validator_cli.py [-h] [-r] [-n] [-v] [-vv] [-f] [-w] [-s] [-g]
82
+ usage: yara_validator_cli.py [-h] [-r] [-n] [-v] [-vv] [-f] [-w] [-s]
83
83
[-i | -c]
84
84
paths [paths ...]
85
85
86
- CCCS YARA script to run the CCCS YARA validator, if the -i or -c flags are not
87
- provided no changes will be made to the files. The default behavior without
88
- either of the -i or -c flags is to return the validity of the file or files if
89
- the -i or -c flag had been used. Use the -g flag to check the current validity
90
- of the file or files.
86
+ CCCS YARA script to run the CCCS YARA validator, use the -i or -c flags to
87
+ generate the id, fingerprint, version, first_imported, or last_modified (if
88
+ not already present) and add them to the file.
91
89
92
90
positional arguments:
93
- paths A list of files or folders to be analyzed.
91
+ paths A list of files or folders to be analyzed.
94
92
95
93
optional arguments:
96
- -h, --help show this help message and exit
97
- -r, --recursive Recursively search folders provided.
98
- -n, --no-changes Makes no changes and outputs potential results to the
99
- output.
100
- -v, --verbose Verbose mode, will print why a rule was invalid.
101
- -vv, --very-verbose Very-verbose mode, will printout what rule is about to
102
- be processed, the invalid rules, the reasons they are
103
- invalid and all contents of the rule.
104
- -f, --fail Fail mode, only prints messages about invalid rules.
105
- -w, --warnings This mode will ignore warnings and proceed with other
106
- behaviors if the rule is valid.
107
- -s, --standard This prints the YARA standard to the screen.
108
- -g, --generate-values
109
- Generate-values, this is true by default use this flag
110
- to prevent values from being generated.
111
- -i, --in-place Modifies valid files in place, mutually exclusive with
112
- -c.
113
- -c, --create-files Writes a new file for each valid file, mutually
114
- exclusive with -i.
94
+ -h, --help show this help message and exit
95
+ -r, --recursive Recursively search folders provided.
96
+ -n, --no-changes Makes no changes and outputs potential results to the
97
+ output.
98
+ -v, --verbose Verbose mode, will print why a rule was invalid.
99
+ -vv, --very-verbose Very-verbose mode, will printout what rule is about to
100
+ be processed, the invalid rules, the reasons they are
101
+ invalid and all contents of the rule.
102
+ -f, --fail Fail mode, only prints messages about invalid rules.
103
+ -w, --warnings This mode will ignore warnings and proceed with other
104
+ behaviors if the rule is valid.
105
+ -s, --standard This prints the YARA standard to the screen.
106
+ -i, --in-place Modifies valid files in place, mutually exclusive with
107
+ -c.
108
+ -c, --create-files Writes a new file for each valid file, mutually
109
+ exclusive with -i.
115
110
```
116
111
117
112
@@ -197,38 +192,33 @@ yara_validator_cli.py -h
197
192
| |__| |__| |___ ___) | | |/ ___ \| _ < / ___ \
198
193
\____\____\____|____/ |_/_/ \_\_| \_\/_/ \_\
199
194
200
- usage: yara_validator_cli.py [-h] [-r] [-n] [-v] [-vv] [-f] [-w] [-s] [-g]
195
+ usage: yara_validator_cli.py [-h] [-r] [-n] [-v] [-vv] [-f] [-w] [-s]
201
196
[-i | -c]
202
197
paths [paths ...]
203
198
204
- CCCS YARA script to run the CCCS YARA validator, if the -i or -c flags are not
205
- provided no changes will be made to the files. The default behavior without
206
- either of the -i or -c flags is to return the validity of the file or files if
207
- the -i or -c flag had been used. Use the -g flag to check the current validity
208
- of the file or files.
199
+ CCCS YARA script to run the CCCS YARA validator, use the -i or -c flags to
200
+ generate the id, fingerprint, version, first_imported, or last_modified (if
201
+ not already present) and add them to the file.
209
202
210
203
positional arguments:
211
- paths A list of files or folders to be analyzed.
204
+ paths A list of files or folders to be analyzed.
212
205
213
206
optional arguments:
214
- -h, --help show this help message and exit
215
- -r, --recursive Recursively search folders provided.
216
- -n, --no-changes Makes no changes and outputs potential results to the
217
- output.
218
- -v, --verbose Verbose mode, will print why a rule was invalid.
219
- -vv, --very-verbose Very-verbose mode, will printout what rule is about to
220
- be processed, the invalid rules, the reasons they are
221
- invalid and all contents of the rule.
222
- -f, --fail Fail mode, only prints messages about invalid rules.
223
- -w, --warnings This mode will ignore warnings and proceed with other
224
- behaviors if the rule is valid.
225
- -s, --standard This prints the YARA standard to the screen.
226
- -g, --generate-values
227
- Generate-values, this is true by default use this flag
228
- to prevent values from being generated.
229
- -i, --in-place Modifies valid files in place, mutually exclusive with
230
- -c.
231
- -c, --create-files Writes a new file for each valid file, mutually
232
- exclusive with -i.
207
+ -h, --help show this help message and exit
208
+ -r, --recursive Recursively search folders provided.
209
+ -n, --no-changes Makes no changes and outputs potential results to the
210
+ output.
211
+ -v, --verbose Verbose mode, will print why a rule was invalid.
212
+ -vv, --very-verbose Very-verbose mode, will printout what rule is about to
213
+ be processed, the invalid rules, the reasons they are
214
+ invalid and all contents of the rule.
215
+ -f, --fail Fail mode, only prints messages about invalid rules.
216
+ -w, --warnings This mode will ignore warnings and proceed with other
217
+ behaviors if the rule is valid.
218
+ -s, --standard This prints the YARA standard to the screen.
219
+ -i, --in-place Modifies valid files in place, mutually exclusive with
220
+ -c.
221
+ -c, --create-files Writes a new file for each valid file, mutually
222
+ exclusive with -i.
233
223
```
234
224
0 commit comments