fix: Wrong file name in the scripts

pull/100/head
Raphaël Vinot 2019-03-25 11:43:27 +01:00
parent db8313a531
commit 04e8f468d9
3 changed files with 5 additions and 5 deletions

View File

@ -21,7 +21,7 @@ warninglist['list'] = sorted(set(domain))
warninglist['type'] = 'substring'
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)

View File

@ -38,5 +38,5 @@ warninglist['type'] = 'cidr'
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)

View File

@ -22,7 +22,7 @@ warninglist['type'] = 'cidr'
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)
@ -43,7 +43,7 @@ warninglist['type'] = 'cidr'
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)