![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=1739532993-ysV4HrOhlOOld8yWrhxFl76gKChgOnVk-0-e659fb86539cbd77c50a821a1a53509b)
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=1739532993-B854iB8MSM49JWjqhbeGqaK2QyNIsvgo-0-40ba9097c6674572c0d5ce152050da03)
The settings discussed in the preceding section are similar for Chromium browser as well.