Hello,
I feel like this is a stupid n00b question, but here goes: How can I get ZAP to intercept HTTP/S requests and/or responses when I use a command line tool like msfconsole? I sincerely like ZAP, and would like to use it for all of my proxying needs, but I have scoured the documentation and can figure out no way to do with ZAP what Burp Suite does out of the box.
When I set msfconsole to proxy HTTP through ZAP's address and port (
127.0.0.1:8088) and generate HTTP traffic from msf, nothing at all happens in ZAP. ZAP acts as if it sees no traffic.
Contrast this with Burp Suite: When I set msfconsole to proxy HTTP through Burp Suite's address and port, any HTTP traffic generated by msf is captured in Burp Suite and shown in its HTTP history (please see attached screenshot), making further analysis possible.
It seems like I might need to enable a ZAP service, but one to which I can find no reference in the documentation. Using a browser instead of a command line tool like msf, ZAP works perfectly and its HUD is invaluable; I just need to make it work with command line tools for it to take its place as my go-to proxy.
Thank you in advance,
roboris