mirror of
https://github.com/aljazceru/cyphernode.git
synced 2025-12-18 05:05:12 +01:00
OTS not TORified thanks to proxychains-ng, better TORification
This commit is contained in:
@@ -56,11 +56,11 @@ curl_it() {
|
||||
local response
|
||||
local rnd=$(dd if=/dev/urandom bs=5 count=1 | xxd -pc 5)
|
||||
|
||||
if [ "${torbypass}" = "true" ] || [ ! -f "curlcfg" ]; then
|
||||
if [ "${torbypass}" = "true" ] || [ -z "${TOR_HOST}" ]; then
|
||||
# If we want to bypass tor or the config file doesn't exist
|
||||
torbypass=""
|
||||
else
|
||||
torbypass="-K curlcfg"
|
||||
torbypass="--socks5-hostname ${TOR_HOST}:${TOR_PORT}"
|
||||
fi
|
||||
|
||||
if [ -n "${data}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user