hacktricks/pentesting-web/xs-search/javascript-execution-xs-leak.md
carlospolop 63bd9641c0 f
2023-06-05 20:33:24 +02:00

5.3 KiB

Ejecución de JavaScript XS Leak

☁️ HackTricks Cloud ☁️ -🐦 Twitter 🐦 - 🎙️ Twitch 🎙️ - 🎥 Youtube 🎥
```javascript // Code that will try ${guess} as flag (need rest of the server code app.get('/guessing', function(req, res) { let guess = req.query.guess let page = `<html> <head> </head>

hello2

</html>` res.send(page) }); ``` # Página principal que genera iframes a la página `/guessing` anterior para probar cada posibilidad ```html <html> <head>