![Hands-On Application Penetration Testing with Burp Suite](https://wfqqreader-1252317822.image.myqcloud.com/cover/822/36698822/b_36698822.jpg)
上QQ阅读APP看书,第一时间看更新
Setting up Chrome proxy options on Linux
On Linux, when you attempt to set Google Chrome's proxy options, you may encounter an error, as shown here:
When running Google Chrome under a supported desktop environment, the system proxy settings will be used. However, either your system is not supported or there was a problem launching your system configuration.
But you can still configure via the command line. Please see man google-chrome-stable for more information on flags and environment variables.
In such cases, you can either specify the proxy server via a command-line argument, or by editing the .desktop file that was created when Chrome/Chromium was installed.
The command-line argument to start Google Chrome with a specific proxy is:
google-chrome --proxy-server="127.0.0.1:8080"
You can also edit the /usr/share/applications/google-chrome.desktop file and add --proxy-server="127.0.0.1:8080" at the end of the Exec section:
![](https://epubservercos.yuewen.com/2F0007/19470381108821606/epubprivate/OEBPS/Images/6da2df23-d877-4ed4-9630-f8e78edafa24.png?sign=1738947241-9stuTOmmCUmL1B6AZAnU1WWw9qgHLIwl-0-5f7993f79f3ecaa775892182d8835dba)
Command-line support to specify a proxy server for Google Chrome is supported on Windows as well.
![](https://epubservercos.yuewen.com/2F0007/19470381108821606/epubprivate/OEBPS/Images/ad099ecb-176d-4749-8290-ba627af2d5cf.png?sign=1738947241-S8C79zeC4nHTCRvwsXL6V2HlJVDfv4J8-0-028ab12ac3eb6901362bdacf4bafa05e)
The settings discussed in the preceding section are similar for Chromium browser as well.