iterate logs from db

This commit is contained in:
2017-10-02 12:16:05 +02:00
parent e655faaf62
commit 7dc393ae92
7 changed files with 54 additions and 30 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# run from root
cd res;
rm all-tld.txt;
curl -o all-tld.txt http://data.iana.org/TLD/tlds-alpha-by-domain.txt;

View File

@@ -1,5 +1,7 @@
#!/bin/bash
# run from root
# how much to take
COUNT=1000;

View File

@@ -1,5 +1,7 @@
#!/bin/bash
# run from root
# cleanup
cd res;
echo "" > malicious_domains.txt;