I tried using the web proxy functionality of OWASP Zed Attack Proxy (ZAP) to edit the response JavaScript and HTML. I tried to make a button get the attribute disable="false"
instead of disable=""
. I can easily use the Firebug console to achieve this.
However, I want to use ZAP instead, and I set a breakpoint at the response, edited the HTML and JavaScript that I want. When I press submit, the changes made have no effect. Am I missing some JavaScript that again disables the button after the page is loaded, or is ZAP not working this way at all? Anyone with experience in using ZAP that knows if similar stuff works for them?
I did a simple test. I edited the response body to be empty. This gave no result so I guess ZAP lacks the functionality I'm looking for here? The fault was then not due to some background JavaScript.
About the comment. I do not have a reputation high enough to post an answer to my own question. If someone know how to use ZAP for editing http responses I would be glad to hear it. It seams to me like its not working but ZAP gives the user the impression that it should be working. Please confirm my suspicion(that this functionality do not exist) or answer how to do it.
The