From e0eccb3ad8bb9e9593f4a1e5435b41ed84a877e3 Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Tue, 7 Jul 2020 11:06:18 +0100 Subject: [PATCH] fix: remove all quotes before extracting URLs - result is still the same, but it's safer this way --- src/script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.sh b/src/script.sh index bff9b2d6..8fe73aa5 100644 --- a/src/script.sh +++ b/src/script.sh @@ -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 "." | \