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

9 lines
272 B
Bash
Raw Permalink Normal View History

#!/bin/sh
SOCKS_PROXY='socks5h://127.0.0.1:9050/'
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 10:54:44 -05:00
curl --head --user-agent "$USER_AGENT" --proxy "$SOCKS_PROXY" "$url" || exit $?
done
exit 0