Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

PROXY IPV4 sooks5.

Post Reply
AnnaHets
Posts: 3
Joined: Tue Oct 18, 2022 5:12 pm

PROXY IPV4 sooks5.

Post by AnnaHets »

Good afternoon. I study at school and study delphi. I'm 15 years old.
I can't set up a proxy.
I am writing Chromium1.CreateBrowser(ChromiumWindow1);
Chromium1.ProxyType:=CEF_PROXYTYPE_FIXED_SERVERS;
Chromium1.ProxyServer:='socks5://194.67.215.116';
Chromium1.ProxyPort:=9402;
Chromium1.ProxyUsername:='YaysRM';
Chromium1.ProxyPassword:='LwaM9p';
Chromium1.ProxyScheme:=psSOCKS5;
Chromium1.loadUrl('https://2ip.ru /'); but the proxies don't work. You could show me the code that would help me use such a proxy. I just don't understand what data needs to be written. thank you very much! :geek:
You do not have the required permissions to view the files attached to this post.
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: PROXY IPV4 sooks5.

Post by salvadordf »

Hi,

Open the MiniBrowser demo and search for the TMiniBrowserFrm.Preferences1Click procedure. There's the code you need to set the proxy settings.

Read this document for more details about configuring a proxy in Chromium :
https://www.chromium.org/developers/design-documents/network-settings/

Not all the proxies in those public lists work. You will have to test several of them until you find one that works. Start testing with the HTTP proxies and select "Fixed servers" in the proxy type combobox.
AnnaHets
Posts: 3
Joined: Tue Oct 18, 2022 5:12 pm

Re: PROXY IPV4 sooks5.

Post by AnnaHets »

Please tell me what ProxyScriptURL and ProxyByPassList are.
Do I need fixed servers only for http proxies?
gresaggr
Posts: 22
Joined: Mon Mar 04, 2019 12:41 pm

Re: PROXY IPV4 sooks5.

Post by gresaggr »

Перед открытием страницы (Chromium1.loadUrl) пробуйте применить сами прокси: Chromium1.UpdatePreferences
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: PROXY IPV4 sooks5.

Post by salvadordf »

AnnaHets wrote: Thu Oct 20, 2022 7:16 am Please tell me what ProxyScriptURL and ProxyByPassList are.
TChromiumCore.ProxyScriptURL : This tells browser to use the PAC file at the specified URL.
TChromiumCore.ProxyByPassList : This tells browser to bypass any specified proxy for the given semi-colon-separated list of hosts.

All the proxy settings modify the browser preferences but you can also use command line switches. They have he same meaning :
https://www.chromium.org/developers/design-documents/network-settings/#TOC-Command-line-options-for-proxy-sett
AnnaHets wrote: Thu Oct 20, 2022 7:16 am Do I need fixed servers only for http proxies?
If the proxy server uses HTTP, HTTPS, socks4 or socks5 then you need to use "fixed servers".
Post Reply