简体   繁体   English

如何用 Burp 拦截 Docker 的容器流量?

[英]How to intercept Docker's container traffic with Burp?

I did the following:我做了以下事情:

Run docker pull bkimminich/juice-shop
Run docker run --rm -p 3000:3000 bkimminich/juice-shop

Browse to http://localhost:3000 with Burp listening to 127.0.0.1:8080 => I see external traffic (google, cdn...) but not internal (Docker container).浏览到 http://localhost:3000,Burp 监听 127.0.0.1:8080 => 我看到外部流量(谷歌,cdn ...)但不是内部流量(Docker 容器)。

So please how to configure my container to connect it with my proxy Burp.那么请如何配置我的容器以将其与我的代理 Burp 连接。 Burp is installed on Windows not inside the container. Burp 安装在 Windows 上,而不是在容器内。 Thks谢谢

  • While running Docker Pull, did you try to run it with 8080 port.在运行 Docker Pull 时,您是否尝试使用 8080 端口运行它。
  • If the problem is not resolved, try to open port 3000 from Burp Suite / Proxy / Settings.如果问题没有解决,请尝试从 Burp Suite / Proxy / Settings 中打开端口 3000。
  • If there is a certificate setting in the Docker container, I suggest you check it.如果 Docker 容器中有证书设置,建议你检查一下。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM