I have a site with which I need to interact. I do this under the tor-network. But it seems to have Tor's lock on it. But when I use the tor browser everything works and the site responds. And when I submit requests to the site via tor.exe, using my own application in c# (windows 10), I get 403 forbidden error. The tor browser may go online through ipv6. Configure use ipv6 in torrc doesn’t work for me. Does anyone know what the problem is and how to solve it? Thanks!

I copy all the headers from the browser request. They are the same. And use tor.exe as a SOCKS 5 proxy. Without using tor-proxy from my application the site responds and error 403 does not occur


 HttpWebRequest proxy_request = (HttpWebRequest)WebRequest.Create(/*some uri*/);
                proxy_request.Method = "GET";
                proxy_request.Headers.Add(HttpRequestHeader.AcceptLanguage, "en-US,en;q=0.5");
                proxy_request.Headers.Add(HttpRequestHeader.CacheControl, "no-cache");
                proxy_request.ContentType = "application / x - www - form - urlencoded";
                proxy_request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0 ";
                proxy_request.Accept = "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
                proxy_request.KeepAlive = true;
                var prx = new HttpToSocks5Proxy("", 9050);
                proxy_request.Proxy = prx;
                HttpWebResponse resp = proxy_request.GetResponse() as HttpWebResponse;
  • (Duplicate of 21026). What is the URL you're trying to access? And have you inspected the actual traffic with something like Wireshark to make sure they are actually identical? Have you tried replaying your previous requests as well? You need to add more information or else no one will be able to help you.
    – Steve
    Apr 1 '20 at 16:37
  • I used webhook.site to watch what requests go
    – Dr. Fix
    Apr 1 '20 at 17:05

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.