Skip to content

Commit

Permalink
retrieve_domains.sh: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 19, 2024
1 parent d9926fd commit 11281eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/retrieve_domains.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 11281eb

Please sign in to comment.