hacktricks/pentesting-web/xs-search/javascript-execution-xs-leak.md
2024-02-10 13:11:20 +00:00

3.9 KiB

Izvršavanje JavaScript-a XS Leak

Naučite hakovanje AWS-a od nule do heroja sa htARTE (HackTricks AWS Red Team Expert)!
```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) }); ``` Glavna stranica koja generiše iframe-ove ka prethodnoj `/guessing` stranici kako bi testirala svaku mogućnost ```html <html> <head>

</head>

hello

</html> ```
Naučite hakovanje AWS-a od nule do heroja sa htARTE (HackTricks AWS Red Team Expert)!