Can we manipulate form data with Chrome Extension?

Today i tried to use to build an extension to manipulate the data that the client submit to the server. The plan was to modify some content before the form is sent to the server. Don’t ask me why. I do it to automate some tasks which can help the user to sending some data from some source. I can’t do this with curl because the destination server has some protection and it can only be done if the user use a true browser.

After few hours, it turned out, we can’t do this. Chrome only allows us to modify the sent/received headers only. It doesn’t reveal the actual post data and we can’t see what the real body content.

What next? my next try will be using a proxy – mitmproxy – it looks like that it can manipulate any traffic (icoming/outgoing).

Let wait and see.

Leave a Reply

Your email address will not be published. Required fields are marked *