fiddler安装后无法抓包

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
maple412
帖子: 45
注册时间: 2017-11-25 22:36

fiddler安装后无法抓包

#1

帖子 maple412 » 2018-05-10 21:44

首先安装mono,然后安装fiddler。通过mono Fiddler.exe的时候提示如下:
root@zhf-maple:/home/zhf/fiddler# mono Fiddler.exe
/usr/share/themes/ukui-theme/gtk-2.0/gtkrc:814: 找不到包含文件:“apps/caja.rc”
/usr/share/themes/ukui-theme/gtk-2.0/gtkrc:816: 找不到包含文件:“apps/ukuimenu.rc”

(process:23369): dconf-WARNING **: failed to commit changes to dconf: 连接已关闭

(process:23382): dconf-WARNING **: failed to commit changes to dconf: 连接已关闭

(process:23386): dconf-WARNING **: failed to commit changes to dconf: 连接已关闭

此时虽然fiddler软件已打开,但是无法获取到网页的数据
头像
astolia
论坛版主
帖子: 6420
注册时间: 2008-09-18 13:11

Re: fiddler安装后无法抓包

#2

帖子 astolia » 2018-05-11 0:27

用sudo运行?
maple412
帖子: 45
注册时间: 2017-11-25 22:36

Re: fiddler安装后无法抓包

#3

帖子 maple412 » 2018-05-11 21:35

sudo 运行结果如下。还是不能抓包
xdg-open: unexpected argument 'netconnections'
Try 'xdg-open --help' for more information.
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/zhf/.Xauthority which is owned by zhf.)
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/zhf/.Xauthority which is owned by zhf.)
Running Firefox as root in a regular user's session is not supported. ($XAUTHORITY is /home/zhf/.Xauthority which is owned by zhf.)
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: iceweasel: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: seamonkey: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: mozilla: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: epiphany: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: konqueror: not found
[6905:6905:0511/213335.671664:ERROR:zygote_host_impl_linux.cc(90)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: google-chrome: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: www-browser: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links2: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: elinks: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: links: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: lynx: not found
/usr/bin/xdg-open: 778: /usr/bin/xdg-open: w3m: not found
头像
astolia
论坛版主
帖子: 6420
注册时间: 2008-09-18 13:11

Re: fiddler安装后无法抓包

#4

帖子 astolia » 2018-05-12 22:52

http://fiddler.wikidot.com/mono 这里看,fiddle是在本地的8888端口建立了一个代理,你先用 sudo netstat -lnp | grep 8888 确认一下
如果是的话,那你在firefox的设置里把http和https的代理也设置成127.0.0.1:8888
maple412
帖子: 45
注册时间: 2017-11-25 22:36

Re: fiddler安装后无法抓包

#5

帖子 maple412 » 2018-05-13 21:05

@astoia
问题解决。多谢解答
maple412
帖子: 45
注册时间: 2017-11-25 22:36

Re: fiddler安装后无法抓包

#6

帖子 maple412 » 2018-05-13 21:41

@astoia还有个问题,设置代理127.0.0.1:8888适用所有协议后。无法访问https网站了
头像
astolia
论坛版主
帖子: 6420
注册时间: 2008-09-18 13:11

Re: fiddler安装后无法抓包

#7

帖子 astolia » 2018-05-13 23:30

因为fiddle的运作模式是中间人,所以需要将它的证书导入到firefox里,我上面给的链接里HTTPS CONFIGURATION一段有讲,还有其他的一些相关事项都在里面
回复