ivito
V2EX  ›  macOS

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

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

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

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

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

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

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

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

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