mirror of
https://github.com/alecmuffett/real-world-onion-sites.git
synced 2024-09-08 01:52:16 +00:00
9 lines
272 B
Bash
Executable File
9 lines
272 B
Bash
Executable File
#!/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 ::::"
|
|
curl --head --user-agent "$USER_AGENT" --proxy "$SOCKS_PROXY" "$url" || exit $?
|
|
done
|
|
exit 0
|