0

A site behind Cloudflare is being reached by PHP Curl, but if I use SOCKS5 proxy:

        curl_setopt($curlSession, CURLOPT_PROXY, "127.0.0.1:9050");
        curl_setopt($curlSession, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);

I get an error from CF. At the same time this site can be open using Tor browser.

What is the trick? How CF can tell the difference between Tor browser and SOCKS5 and what is the difference?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.