hacktricks/pentesting-web/xs-search/javascript-execution-xs-leak.md
2023-06-06 18:56:34 +00:00

5.4 KiB

Execução 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 gera iframes para a página `/guessing` anterior para testar cada possibilidade ```html <html> <head>