fix: remove all quotes before extracting URLs

- result is still the same, but it's safer this way
This commit is contained in:
MDLeom 2020-07-07 11:06:18 +01:00
parent 1c4d53e565
commit e0eccb3ad8
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ cat "phishtank.csv" | \
"./$CSVQUOTE" | \
cut -f 2 -d "," | \
"./$CSVQUOTE" -u | \
sed 's/"$//g' | \
sed 's/"//g' | \
cut -f 3- -d "/" | \
# Domain must have at least a 'dot'
grep -F "." | \