【Fiddler】Mac下Fiddler的安装与使用?

MAC OS下Fiddler的安装与使用

首先Fiddler的使用需要依赖.NET FRAMEWORK.众所周知,这是微软公司的,MAC上有一个MONO可以作为替代方案(其实已被微软收购了)。

1、安装MONO(不详细说了,直接百度)

http://www.mono-project.com/download/#download-mac

2、然后执行以下命令(如果不知道MONO的版本,可以使用查找命令)

find / -name "mono"

在这里插入图片描述

此时版本使用5.18.0

/Library/Frameworks/Mono.framework/Versions/<mono version>/bin/mozroots --import --sync

如果执行不能成功,可以换成下面的命令执行。

/Library/Frameworks/Mono.framework/Versions/<mono version>/bin/cert-sync --import --sync

3、把MONO加入系统变量中

vi ~/.bash_profile
#加上
export MONO_HOME=/Library/Frameworks/Mono.framework/Versions/5.18.0
export PATH=$PATH:$MONO_HOME/bin

4、保存后重新打开Terminal

5、从Fiddler官网https://www.telerik.com/download/fiddler下载fiddler-mac.zip的压缩包。解压到非中文字符的路径下。

6、执行命令

#进入Fiddler.exe文件目录
sudo mono Fiddler.exe
#如果还报错,且不能重启,则需要加入32位参数
sudo mono --arch=32   Fiddler.exe
#等待一会儿,就能启动了

在这里插入图片描述

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 8
    评论
参考网址:( https://www.telerik.com/blogs/details/introducing-fiddler-for-os-x-beta-1 )Getting Started 1. If you don’t have the Mono framework installed on your MAC, please, download it from http://www.mono-project.com/download/#download-mac and install it. If you already have it installed, please, update it to latest. 2. If you just installed Mono, please open Terminal and type in /Library/Frameworks/Mono.framework/Versions/<Mono Version>/bin/mozroots --import -sync (The Mono framework has its own trusted root certificates store. Currently (at mono version 4.2.4) this store remains empty after installing Mono on Mac OS X. Fiddler uses the certificates in this store to validate the certificates of the websites visited. So you need to populate this store with a set of commonly trusted root authorities to avoid getting constant certificate warnings by Fiddler. The mozroots tool imports trusted authorities from the Mozilla LXR. ) 3. Extract fiddler-mac.zip to a folder you have write access to. It is recommended that the full path to Fiddler install folder does not contain any Windows path illegal characters. (At present it is possible that some Fiddler functionality, e.g. various file exports or Fiddler Script won’t handle such paths.) 4. Open Terminal and navigate to the folder from 3. 5. Type mono Fiddler.exe in Terminal. To further understand the benefits and limitations of Fiddler for MAC please visit - http://www.telerik.com/blogs/Latest-Fiddler-Available-for-Mac-OS-X

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值