Filtering fiddler to only capture requests for a certain domain

前端 未结 5 1256
日久生厌
日久生厌 2021-01-30 00:56

I\'m not sure how to modify the CustomRules.js file to only show requests for a certain domain.

Does anyone know how to accomplish this?

5条回答
  •  忘了有多久
    2021-01-30 00:59

    edit

    Turns out it is quite easy; edit OnBeforeRequest to add:

    if (!oSession.HostnameIs("www.google.com")) {oSession["ui-hide"] = "yup";} 
    

    filters to google, for example.


    (original answer) I honestly don't know if this is something that Fiddler has built in (I've never tried), but it is certainly something that Wireshark will do pretty easily - of course, you get different data (in particular for SSL) - so YMMV.

提交回复
热议问题