You simply cannot control the httpOnly cookie from javascript.
But I think you want to analyze the page, but also with js. So why use an iframe?
You can get the content of the page that needs to be parsed outside of html or javascript:
- execute ajax request to application proxy
- use html5 websockets as a proxy server. I assume the websocket server is yours. Websockets also have cross-domain capabilities.
You just need to parse the extracted DOM (I saw something built in for this). And let the analysis begin.
source
share