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:zygote_host_impl_linux.cc(88)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

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

加上--no-sandbox参数

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

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值