real-world-onion-sites/manual-check.sh

9 lines
275 B
Bash
Raw Normal View History

#!/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 ::::"
2019-11-21 07:33:31 -05:00
curl -v --head --user-agent "$USER_AGENT" --proxy "$SOCKS_PROXY" "$url" || exit $?
done
exit 0