zoukankan      html  css  js  c++  java
  • Mac下安装fiddler

    mac下安装Fiddler抓包工具

    Mono安装
    首先,Mac下需要使用.Net编译后的程序,需要用到跨平台的方案Mono(现阶段微软已推出跨平台的方案.Net Core,不过暂时只支持控制台程序)。
    安装程序可以从http://www.mono-project.com/download/#download-mac地址下载。
    迅雷链接:https://download.mono-project.com/archive/5.16.1/macos-10-universal/MonoFramework-MDK-5.16.1.0.macos10.xamarin.universal.pkg

    1.安装完后,在Terminal里执行以下命令(5.16.1是你的版本号):
    /Library/Frameworks/Mono.framework/Versions/5.16.1/bin/mozroots --import --sync

    2.接下来如果想要运行Fiddler,还需要把Mono加入到环境变量中。

    编辑.bash_profile文件:sudo vi ~/.bash_profile

    加入文本(5.16.1是你的版本号):终端里面,按i进入编辑状态,添加下面文本,按esc,然后:wq,保存退出...:
    export MONO_HOME=/Library/Frameworks/Mono.framework/Versions/5.16.1
    export PATH=$PATH:$MONO_HOME/bin

    3.Fiddler的安装:
    从Fiddler官网https://www.telerik.com/download/fiddler下载fiddler-mac.zip的压缩包。解压到非中文字符的路径下。
    链接: https://pan.baidu.com/s/1V-rbc_22RWy7_iEpUM1HDg 提取码: y83a

    4.Fiddler运行:
    打开Terminal,进入到刚才解压的Fiddler路径,执行命令运行:
    sudo mono Fiddler.exe

    修改命令运行即可:
    sudo mono --arch=32 Fiddler.exe

    官方文档:
    Fiddler for OS install instructions

    a. 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.

    b. If you just installed Mono, please open Terminal and type in
    /Library/Frameworks/Mono.framework/Versions//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. )

    c. 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.)

    d. Open Terminal and navigate to the folder from 3.

    e. 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
    转载自:https://www.cnblogs.com/gitbo/p/8919869.html

  • 相关阅读:
    段间跳转之陷阱门
    段间跳转之中断门
    段间跳转之调用门
    代码段段间跳转流程
    Window内核学习之保护模式基础
    回顾2020,展望2021
    内存管理之堆
    Windows进程间通讯(IPC)----信号量
    线程本地存储(动态TLS和静态TLS)
    Windows进程间通讯(IPC)----套接字
  • 原文地址:https://www.cnblogs.com/MR-FANWB/p/10676274.html
Copyright © 2011-2022 走看看