fix: [crawler] sigma: Yaml parser function call updated
parent
1e001cfd55
commit
0a907bb664
|
@ -60,7 +60,7 @@ for root, dirs, files in os.walk("{}./rules".format(args.path)):
|
||||||
continue
|
continue
|
||||||
sigmaf = os.path.join(root, f)
|
sigmaf = os.path.join(root, f)
|
||||||
with open(sigmaf, 'r') as stream:
|
with open(sigmaf, 'r') as stream:
|
||||||
rules = yaml.load_all(stream)
|
rules = yaml.safe_load_all(stream)
|
||||||
print("File :{}".format(sigmaf))
|
print("File :{}".format(sigmaf))
|
||||||
for x in rules:
|
for x in rules:
|
||||||
data = {}
|
data = {}
|
||||||
|
|
Loading…
Reference in New Issue