Answer the question
In order to leave comments, you need to log in
Indy + Tor. What to use to parse a .onion site?
The task is as follows: write a Delphi program that logs in to the secmail.pro service and saves a list of letters.
Important: Secmail runs on the dark web, so access is only possible through the Socks5 proxy.
You need to do it using Indy.
What am I doing? Downloading the tor bundle. I start the local server through the console. C:\tor\tor.exe. The proxy server starts at 127.0.0.1 port 9050.
Now we have a local socks5 proxy server.
I throw the TIdHTTP and TIdSSLIOHandlerSocketOpenSSL components onto the form. In the property of the TIdHTTP - IOHandler component, I specify the TIdSSLIOHandlerSocketOpenSSL component.
I throw 2 dlls into the project folder: libeay32.dll ssleay32.dll
I throw edit for login and password, as well as other fields that go when sending a request.
What parameters should be set for IdHTTP and TIdSSLIOHandlerSocketOpenSSL in order to have an ssl connection and a connection with onion?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question