From c76596f56371e62e42c7fab2659c9e09bd2dc1af Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sun, 9 Jun 2024 12:19:46 +0200 Subject: [PATCH] [.zshrc] Update siteinfo function --- .zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 6e10eb1..7e4da24 100644 --- a/.zshrc +++ b/.zshrc @@ -81,12 +81,12 @@ kexec () { } siteinfo () { - local url="$1" + local url=$(echo "$1" | sed 's#^https\?://##') local ip="$(dig +short "$url" | tail -1)" whois "$ip" echo "Technology detected for $url with IP $ip" - httpx -silent -json -follow-redirects -ip -tech-detect -target "$url" | jq -rc '.tech' + httpx-toolkit -silent -json -follow-redirects -ip -tech-detect -target "$url" | jq -rc '.tech' } remove_from_hist() {