Having seen Tor via Python - can the real IP address leak? I am no longer sure whether or not using
curl -L --insecure -C - --socks5 localhost:9150 -H "User-Agent: " check.torproject.org
is as secure as the python version in the linked post
where
-L
is to follow redirects
--insecure
is to allow "invalid" HTTPS certificates
-C -
is to continue downloading from where it left off (in case the download breaks)
--socks5 localhost:9150
is where the Tor service is running (default port)
-H "User-Agent: "
is set the user-agent string to {blank}
check.torproject.org
is the page to download
The IP contained in the response is that of the exit node, but I do not know whether or not rdns (reverse DNS? - mentioned in linked post) is relevant to curl
The question is: Is the command above as secure as that in the linked post?