How to intercept HTTP requests and responses of a client machine (like fiddler does)

后端 未结 8 616
囚心锁ツ
囚心锁ツ 2020-12-24 15:00

I thought that the only way to intercept a request is to use a proxy, but fiddler somehow can intercept HTTP requests and responses without configuring anything on any brows

8条回答
  •  抹茶落季
    2020-12-24 15:38

    I guess you don't want to hear that you can just intercept them in the web server instead of the client (if it is locally) or can use WPAC (proxy auto configuration).

    Another option is to use sotware like SocksCap which "debug" the browser (or webserver) process and whenever he calls some winsock functions they intercept it and call their own code.

    A library to do things like this (intercept library calls on a debugged process) is detours.

提交回复
热议问题