StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
621 stars 148 forks source link

Don't choke if directories merely end with "rules" #147

Closed mrnerdhair closed 6 years ago

mrnerdhair commented 6 years ago

The Snort VRT rules tarballs, for example, have rules, preproc_rules, and so_rules directories. The check here needs to find directories literally named "rules", whether at the root or nested, but should not fail on these other cases.

regit commented 6 years ago

Good catch, cherry-picking.