Linux 下谷歌 Chrome 瀏覽器設置代理

前言

平時抓包都是 FirefoxBurpSuite組合,今天幫朋友定位個問題,然而目標站點不支持Firefox,只好改用Chromelinux

問題

Chrome 沒法設置代理chrome

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.

解決

命令行下以代理模式啓動 Chromeshell

google-chrome --proxy-server="127.0.0.1:8080"

發現只是新開了一個窗口運行,並無啓用代理瀏覽器

加上sudo試試安全

sudo google-chrome --proxy-server="127.0.0.1:8080"

哎呀,報錯ui

[16608:16608:0813/170115.496132:ERROR:zygote_host_impl_linux.cc(88)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

以管理員身份運行,沒有--no-sandbox參數是不支持的google

加上--no-sandbox參數命令行

sudo google-chrome --proxy-server="127.0.0.1:8080" --no-sandbox

搞定,瀏覽器以代理模式啓動,又能夠愉快的抓包啦。但因爲關閉了沙盒,穩定性和安全性大大下降!代理

相關文章
相關標籤/搜索