From 11281eb5a3041a1bdfa558b9b2ec203f4a83a896 Mon Sep 17 00:00:00 2001 From: Jarell <91372088+jarelllama@users.noreply.github.com> Date: Sat, 20 Apr 2024 01:50:04 +0800 Subject: [PATCH] retrieve_domains.sh: update comments --- functions/retrieve_domains.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/retrieve_domains.sh b/functions/retrieve_domains.sh index 17643dd46..6b6de9175 100644 --- a/functions/retrieve_domains.sh +++ b/functions/retrieve_domains.sh @@ -602,7 +602,7 @@ source_phishstats() { local url='https://phishstats.info/phish_score.csv' # Get only URLs with no subdirectories, exclude IP addresses and extract # domains - # We can omit the -o argument for grep since each entry is on its own line. + # -o for grep can be omitted since each entry is on its own line wget -qO - "$url" | awk -F ',' '{print $3}' \ | grep -E '^"?https?://[[:alnum:].-]+\.[[:alnum:]-]*[a-z]{2,}[[:alnum:]-]*."?$' \ | sed 's/"//g' | awk -F '/' '{print $3}' | sort -u -o "$results_file"