fix: [crawler] sigma: Yaml parser function call updated

main
Alexandre Dulaunoy 2023-02-04 10:19:06 +01:00
parent 1e001cfd55
commit 0a907bb664
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ for root, dirs, files in os.walk("{}./rules".format(args.path)):
continue
sigmaf = os.path.join(root, f)
with open(sigmaf, 'r') as stream:
rules = yaml.load_all(stream)
rules = yaml.safe_load_all(stream)
print("File :{}".format(sigmaf))
for x in rules:
data = {}