1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > linux 谷歌浏览器设置代理_Linux 下谷歌 Chrome 浏览器设置代理

linux 谷歌浏览器设置代理_Linux 下谷歌 Chrome 浏览器设置代理

时间:2021-08-09 12:12:34

相关推荐

linux 谷歌浏览器设置代理_Linux 下谷歌 Chrome 浏览器设置代理

前言

平时抓包都是 Firefox、BurpSuite组合,今天帮朋友定位个问题,然而目标站点不支持Firefox,只好改用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.

解决

命令行下以代理模式启动 Chrome

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

发现只是新开了一个窗口运行,并没有启用代理

加上sudo试试

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

哎呀,报错

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

以管理员身份运行,没有--no-sandbox参数是不支持的

加上--no-sandbox参数

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

搞定,浏览器以代理模式启动,又可以愉快的抓包啦。但由于关闭了沙盒,稳定性和安全性大大降低!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。