Merge branch 'master' of github.com:MISP/misp-warninglists

pull/46/head
Alexandre Dulaunoy 2017-12-22 13:57:17 +01:00
commit e0f5a924bf
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
3 changed files with 13 additions and 1 deletions

View File

@ -50217,6 +50217,7 @@
"99.99.99.193",
"99.info-pros.com.",
"99.red-80-58-141.staticip.rima-tde.net.",
"9.9.9.9",
"A-B-C-166.static.isp.telekom.rs.",
"A091H095.cable.ogaki-tv.ne.jp.",
"A095H019.cable.ogaki-tv.ne.jp.",
@ -65995,5 +65996,5 @@
"domain|ip"
],
"name": "List of known IPv4 public DNS resolvers",
"version": 20170212
"version": 20171213
}

View File

@ -16,6 +16,7 @@
"api.ipify.org",
"api.wipmania.com",
"bearsmyip.com",
"checkip.amazonaws.com",
"checkip.dns.he.net",
"checkip.dyndns.com",
"checkip.dyndns.es",

View File

@ -12,6 +12,16 @@ if ! [ $diffs -eq 0 ]; then
exit 1
fi
# remove the exec flag on the json files
find -name "*.json" -exec chmod -x "{}" \;
diffs=`git status --porcelain | wc -l`
if ! [ $diffs -eq 0 ]; then
echo "Please make sure you run remove the executable flag on the json files before commiting: find -name "*.json" -exec chmod -x \"{}\" \\;"
exit 1
fi
for dir in lists/*/list.json
do
echo -n "${dir}: "