官术网_书友最值得收藏!

Working with non-proxy-aware clients

A non-proxy-aware client, in this context, is a client that makes HTTP requests but has no easy way to configure proxy options, or has no proxy support at all.

Common examples of non-proxy-aware clients are thick client applications or browser plugins that do not use the browser's proxy options. Burp's support for invisible proxying allows non-proxy-aware clients to connect directly to a proxy listener. This allows Burp to intercept and modify traffic based on target mappings.

Architecturally, this works by setting up a local DNS entry for the remote target that the non-proxy-aware client communicates with. This DNS entry can be made in the local hosts file, as follows:

127.0.0.1 example.org

The client then communicates with 127.0.0.1 instead of the actual IP address of example.org. To complete the circuit, local listeners would have to be set up with invisible Burp proxy support on port 80 (or whatever other port the server is listening on). The non-proxy-aware client will then resolve the domain name to 127.0.0.1, and send requests directly to the listener on that interface.

Burp, by default, will forward requests to the destination based on the host header that was obtained from the request header of the client. However, an interesting problem presents itself here. As the DNS entry for the destination has been set to 127.0.0.1, Burp will resolve the destination incorrectly and forward the request to itself, creating a loop.

This can be fixed by using an IP address instead of the domain name/hostname in the Redirect to host option under the Request handling tab, as shown in the following screenshot:

If the client communicates to multiple domains, then Burp's hostname resolution feature, available under the Project Options tab in the main window, can be used to individually map each request to the correct destination IP address. Each of these destinations should also be added to the host's file to ensure traffic destined for these hosts is sent via Burp.

主站蜘蛛池模板: 泽库县| 铜川市| 资中县| 池州市| 客服| 道孚县| 涡阳县| 安龙县| 福安市| 南陵县| 清涧县| 和顺县| 延长县| 章丘市| 金塔县| 广饶县| 三台县| 额济纳旗| 府谷县| 阿拉善左旗| 嵩明县| 达拉特旗| 洛阳市| 临湘市| 华坪县| 车险| 绥化市| 孟津县| 太康县| 卢氏县| 凤凰县| 重庆市| 吉隆县| 陇川县| 峡江县| 原阳县| 长岛县| 尼木县| 镇远县| 中山市| 灵宝市|