fix: Wrong file name in the scripts
parent
db8313a531
commit
04e8f468d9
|
@ -19,9 +19,9 @@ warninglist['version'] = int(datetime.date.today().strftime('%Y%m%d'))
|
||||||
warninglist['description'] = 'List of disposable email domains'
|
warninglist['description'] = 'List of disposable email domains'
|
||||||
warninglist['list'] = sorted(set(domain))
|
warninglist['list'] = sorted(set(domain))
|
||||||
warninglist['type'] = 'substring'
|
warninglist['type'] = 'substring'
|
||||||
warninglist['matching_attributes'] = ["email-src", "email-dst", "whois-registrant-email", "domain|ip", "dns-soa-email"]
|
warninglist['matching_attributes'] = ["email-src", "email-dst", "whois-registrant-email", "domain|ip", "dns-soa-email"]
|
||||||
|
|
||||||
with open('../lists/disposable-email/lists.json', 'w') as data_file:
|
with open('../lists/disposable-email/list.json', 'w') as data_file:
|
||||||
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,5 +38,5 @@ warninglist['type'] = 'cidr'
|
||||||
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
|
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
|
||||||
|
|
||||||
|
|
||||||
with open('../lists/microsoft-office365-ip/lists.json', 'w') as data_file:
|
with open('../lists/microsoft-office365-ip/list.json', 'w') as data_file:
|
||||||
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
||||||
|
|
|
@ -22,7 +22,7 @@ warninglist['type'] = 'cidr'
|
||||||
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
|
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
|
||||||
|
|
||||||
|
|
||||||
with open('../lists/vpn-ipv4/lists.json', 'w') as data_file:
|
with open('../lists/vpn-ipv4/list.json', 'w') as data_file:
|
||||||
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ warninglist['type'] = 'cidr'
|
||||||
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
|
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
|
||||||
|
|
||||||
|
|
||||||
with open('../lists/vpn-ipv6/lists.json', 'w') as data_file:
|
with open('../lists/vpn-ipv6/list.json', 'w') as data_file:
|
||||||
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
json.dump(warninglist, data_file, indent=4, sort_keys=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue