real-world-onion-sites/manual-check.sh
2019-11-21 12:33:31 +00:00

9 lines
275 B
Bash
Executable File

#!/bin/sh
SOCKS_PROXY='socks5h://127.0.0.1:9150/'
USER_AGENT='Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0'
for url in "$@" ; do
echo ":::: $url ::::"
curl -v --head --user-agent "$USER_AGENT" --proxy "$SOCKS_PROXY" "$url" || exit $?
done
exit 0