ivito
V2EX  ›  macOS

Mac 下 Http 协议抓包工具哪款比较好呢

  •  
  •   ivito · Sep 9, 2015 · 17328 views
    This topic created in 3903 days ago, the information mentioned may be changed or developed.
    求一款功能强大的 http 抓包工具,如果是开源免费的就更好了
    64 replies    2016-04-14 16:13:24 +08:00
    arcas
        1
    arcas  
       Sep 9, 2015
    分析: wireshark
    lululau
        2
    lululau  
       Sep 9, 2015
    chui
        3
    chui  
       Sep 9, 2015
    anyproxy
    liuyi_beta
        4
    liuyi_beta  
       Sep 9, 2015
    Burpsuit Free Edition
    LittleMK
        5
    LittleMK  
       Sep 9, 2015
    Charles
    iamjjh
        6
    iamjjh  
       Sep 9, 2015
    Charles
    adrianzhang
        7
    adrianzhang  
       Sep 9, 2015
    tcpdump 是不二选择。新版 os 装 wireshark 还需要装 x11 ,麻烦。
    tcpdump -U -w filename 这样的方式能够写到文件里,再到有 wireshark 的机器上打开该文件就好了。
    jamlee
        8
    jamlee  
       Sep 9, 2015
    charles http://www.charlesproxy.com/ 能抓手机包呢。
    ibremn
        9
    ibremn  
       Sep 9, 2015
    用 wireshark 、 tcpdump 这样的东西抓 http 包那真是杀鸡用牛刀了。。
    Charles 这种相对来说更好用,还能装证书来抓 https 。
    mxi1
        10
    mxi1  
       Sep 9, 2015   ❤️ 4
    @adrianzhang wireshark 有 native 的版本了,基于 Qt 构建的,不依赖 X11 。😄
    chinajik
        11
    chinajik  
       Sep 9, 2015   ❤️ 1
    装个 win 然后用 findler4
    ariesjia
        12
    ariesjia  
       Sep 9, 2015
    Charles 特别好用
    Yinz
        13
    Yinz  
       Sep 9, 2015
    @mxi1 才知道,赞!
    adrianzhang
        14
    adrianzhang  
       Sep 9, 2015
    @mxi1 还真不知道有这好事。多谢
    Scholer
        15
    Scholer  
       Sep 9, 2015
    mitmproxy 不二选择
    sojingle
        16
    sojingle  
       Sep 9, 2015
    @ibremn Charles 是通过设置代理来抓包的,如果本身就有代理的话还要在 Charles 里再设置一遍,太麻烦...
    skyler
        17
    skyler  
       Sep 9, 2015
    charles
    chmlai
        18
    chmlai  
       Sep 9, 2015
    Charles 要钱; 可以试试上面说的 mitmproxy
    arcas
        19
    arcas  
       Sep 9, 2015   ❤️ 1
    @adrianzhang Development Release (1.99.9 ) 完美
    Menng
        20
    Menng  
       Sep 9, 2015
    全都试一遍,你就知道了
    jimrok
        21
    jimrok  
       Sep 9, 2015
    ngrep
    adrianzhang
        22
    adrianzhang  
       Sep 9, 2015
    @arcas cool!
    wapy
        23
    wapy  
       Sep 9, 2015
    burpsuite

    [LINK REMOVED]
    zhuangzhuang1988
        24
    zhuangzhuang1988  
       Sep 9, 2015
    @chinajik 正解!!
    chinajik
        25
    chinajik  
       Sep 9, 2015
    http 抓包 findler4 暂时找不到代替品....
    wireshark 适合更底层的研究..
    然后就是 postman 现在好想也支持抓包了, 之前模拟请求的.
    izoabr
        26
    izoabr  
       Sep 9, 2015
    cellist
    gaocheng
        27
    gaocheng  
       Sep 9, 2015
    Charles
    mengzhuo
        28
    mengzhuo  
       Sep 9, 2015
    必须 wireshark 啊!
    免费的!!
    新版本都不用装 X11 啊!!!
    还可以和 tcpdump 四处抓服务器的数据流!!!!
    TLS 可以随便解!!!!!
    Owenjia
        29
    Owenjia  
       Sep 9, 2015
    只是 HTTP 的话 mitmproxy 蛮好用的,就是 HTTPS 要装证书。

    另外 wireshark 有 qt 版的。
    run2
        30
    run2  
       Sep 9, 2015
    mitmproxy 免费 然后省略 n 个字
    windirt
        31
    windirt  
       Sep 9, 2015 via iPhone
    本坛国产 cellist
    bdbai
        32
    bdbai  
       Sep 9, 2015 via iPhone
    @chinajik 你觉得 Fiddler 好用我们可以理解 但是
    mark4zhao
        33
    mark4zhao  
       Sep 9, 2015
    Charles rewrite 用起来很不错
    ivito
        34
    ivito  
    OP
       Sep 9, 2015
    @arcas
    @LittleMK
    @jamlee
    @ibremn
    感谢大家的推荐,之前 windows 上一直用 wireshark ,但 Mac 下 wireshark 需要依赖 X11 ,在 retina 屏幕下显示效果很差。小伙伴们推荐较多的 Charles 很适合 http ,轻量级,比 wireshark 简单。但是 Charles 是收费软件,只能免费试用 30 天。
    @mxi1
    原来已经有基于 Qt 的版本了,我真的 out 了,非常感谢
    minglei
        35
    minglei  
       Sep 9, 2015
    身边人普遍是用 Charles 。
    llhhss
        36
    llhhss  
       Sep 9, 2015
    mitmproxy+1
    xingzhi
        37
    xingzhi  
       Sep 10, 2015
    mitmproxy +1
    slixurd
        38
    slixurd  
       Sep 10, 2015
    brew install wireshark --with-qt
    coldear
        39
    coldear  
       Sep 10, 2015
    charles, 类似 win 下的 fiddler
    mornlight
        40
    mornlight  
       Sep 10, 2015
    @sojingle Charles 在哪里再设置代理?我找了很久都没找到,搜文档也没搜到。
    lypdarling
        41
    lypdarling  
       Sep 10, 2015
    mitmproxy 挺好用的
    mckelvin
        42
    mckelvin  
       Sep 10, 2015 via iPhone
    pusadao
        43
    pusadao  
       Sep 10, 2015
    lijinma
        44
    lijinma  
       Sep 10, 2015
    抓 HTTP 建议使用:

    1. 有客户端的 Charles ,优点是操作比较方便,各项功能完全,绝对是首选,缺点是收费,试用 30 天。

    2. mitmproxy ,优点是免费且功能完整,缺点是 CLI 的工具,你需要熟悉一些快捷键啥的。

    3. wireshark 和 tcpdump 这种是更底层的抓包,如果你指抓抓 HTTP ,建议使用 1 和 2 。
    PhanKiap
        45
    PhanKiap  
       Sep 10, 2015
    burpsuite
    PhanKiap
        46
    PhanKiap  
       Sep 10, 2015
    paros 也行。
    dingyaguang117
        47
    dingyaguang117  
       Sep 10, 2015
    本坛友的 cellist +1
    ynyounuo
        48
    ynyounuo  
       Sep 10, 2015   ❤️ 1
    @Livid #23
    hicdn
        49
    hicdn  
       Sep 10, 2015
    @lululau +!
    hicdn
        50
    hicdn  
       Sep 10, 2015
    mnhkahn
        51
    mnhkahn  
       Sep 10, 2015
    charles
    portals
        52
    portals  
       Sep 10, 2015
    当然是 anyproxy 啦 https://github.com/alibaba/anyproxy/
    开源免费 功能和 Charles 差不多
    h2ero
        53
    h2ero  
       Sep 10, 2015
    burpsuite
    ziggear
        54
    ziggear  
       Sep 10, 2015
    @chinajik 注意拼写,是 fiddler :-D
    mac 下脱离 windows 直接装 fiddler 也是有办法的,看这里 http://fiddler.wikidot.com/mono
    wupher
        55
    wupher  
       Sep 10, 2015   ❤️ 1
    我用 HttpScope ,买了好几年了,一直用到现在,价格也不贵。

    https://www.tuffcode.com/
    sailear
        56
    sailear  
       Sep 10, 2015
    比较支持 charles
    angelface
        57
    angelface  
       Sep 10, 2015
    livepool 挺好的,有钱可以 Charles
    heiyou
        58
    heiyou  
       Sep 10, 2015
    Charles 虽然不免费,但能一直使用。就是每次只能使用 30 分钟,然后会自动退出。再启动就行了。 - -
    pirex
        59
    pirex  
       Sep 10, 2015
    试了下 anyproxy ,感觉很好用
    0bit
        60
    0bit  
       Sep 10, 2015
    cellist 挺好用的,界面也比 charles 强了好多,而且相对便宜
    hdshen
        61
    hdshen  
       Sep 10, 2015
    Charles+1
    sojingle
        62
    sojingle  
       Sep 11, 2015   ❤️ 1
    @mornlight 主界面工具栏 Settings (那个齿轮) -> External Proxy Settings
    mornlight
        63
    mornlight  
       Sep 11, 2015
    @sojingle 囧,是我太天真了。谢谢
    wupher
        64
    wupher  
       Apr 14, 2016
    今天有人感谢我,话说 iOS9 出 ATS 之后,我也买了 Charles 。没办法,毕竟要支持 https 。

    最近折腾了一下直播,结果干脆 WireShark 了。没办法,要折腾 RTSP 与 RTMP 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1342 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 154ms · UTC 17:02 · PVG 01:02 · LAX 10:02 · JFK 13:02
    ♥ Do have faith in what you're doing.