$ ls ~/posts | wc -l 51

Writing

HTB writeups, API authorization testing, exploit breakdowns, and secure development notes. Every post comes with commands and code verified in a lab.

Search posts

Featured

NoSQL Injection, Part 1: Operator Injection in MongoDB APIs

10 min read

Featured

OSCP+ Preparation Guide for 2026: Exam Format, a 12-Week Plan, and an Exam-Day Playbook

11 min read

Featured

XSS by Context: A Browser-Verified Lab for Five Sinks, Escaping, and CSP

9 min read

202651 posts

  • BITSCTF 2026 — SafePaste Writeup

    A paste site sanitizes with DOMPurify and then feeds the result to String.prototype.replace: the $& and $` replacement patterns smuggle a live iframe past the sanitizer, and a /hidden-scoped flag cookie is read through a same-origin 404 frame.

    6 min read#CTF#Cybersecurity#Web

  • Codegate 2026 — ERP_system Writeup

    A PHP stream filter that hashes whatever it reads turns into an oracle: chain an SSRF in hash.php through a public redirector to a localhost-only secret reader, then recover the flag one byte at a time from a 500-vs-200 side channel.

    7 min read#CTF#Cybersecurity#Web

  • EV Charging Stations: Plain Shell, Complex Core

    Calling an EV charger a 'simple box of electricity' is easy, but these are grid-connected, remotely managed network nodes. A map of the hardware, network, and legal attack surface through OCPP, ISO 15118, Juice Jacking, CVE-2018-17182, and Brokenwire (CVE-2022-0878).

    6 min read#EV Charging#EVSE#OCPP

  • GoCat Part 3: Using It in Security Testing

    Port scanning, reading binary protocols with hex output, and how a flexible network tool fits into a penetration test — including where it stops and a real scanner begins.

    4 min read#GoCat#Penetration Testing#Port Scanning

  • GPN CTF 2026 — Secure Secretpickle Writeup

    Pickle RCE is sandboxed and the client HTML is sanitized, so the flag comes from the admin bot instead: it visits any URL you hand it, including file:///flag.txt, and returns the screenshot.

    4 min read#CTF#Cybersecurity#Web

  • KnightCTF 2026 — Post_Exploitation Writeup

    A noisy capture with one loud port scan hiding the real story. Filtering the noise exposes a WordPress Social Warfare exploit, the HTTP port the attacker served the payload from, and the reverse shell that called home — exactly the two ports the flag wants.

    5 min read#CTF#Cybersecurity#Network

  • KnightCTF 2026 — Reconnaissance Writeup

    A full 65535-port TCP SYN sweep from 192.168.1.104 against 192.168.1.102: classify every response into SYN-ACK (open) versus RST (closed) and the target exposes exactly two open ports.

    3 min read#CTF#Cybersecurity#Network

  • KubSTU CTF 2026 Spring — Silence in Verona Writeup

    A Cisco Packet Tracer .pkt file with no magic header and an encrypted body holds a hidden Shakespeare Programming Language program; decrypt the container, find Borring novel.txt, run it, and recover the master key.

    4 min read#CTF#Cybersecurity#Network

  • L3akCTF 2026 — catvault part 1 Writeup

    A vault that only lets you read your own secrets, until the settings endpoint lets you overwrite the session user_id and the vault query filters on the wrong column.

    4 min read#CTF#Cybersecurity#Web

  • m0leCon 2026 — In (Secure) Vault 2 Writeup

    A .NET 8 WPF vault app guards its gate with a client-side CheckPassword: the ptm flag is split into leet fragments verified with MD5, SHA-256, base64 and base32, then reassembled by decompiling the binary.

    6 min read#CTF#Cybersecurity#Reverse Engineering

  • NDIAS Automotive/IoT CTF 2026 — Gate to the Past Writeup

    An old IoT device SSHv2 session captured in a pcap, encrypted with AES-128-CBC. The 2007-era Debian OpenSSL weak PRNG (CVE-2008-0166) makes the Diffie-Hellman private exponent recoverable, so the whole session can be decrypted and the flag read off the wire.

    4 min read#CTF#Cybersecurity#Network

  • NewYear 2026 — exFill Writeup

    A packet capture of an intrusion against a vsftpd 2.3.4 server. The attacker pops the famous smiley backdoor, lands a root shell, then exfiltrates a JPEG as base64 over a reverse shell. Reassemble the stream and the flag is painted inside the stolen image.

    3 min read#CTF#Cybersecurity#Forensics

  • Pragyan 2026 — Plumbing Writeup

    A shipped Docker image whose final container looks spotless. Peeling back the OCI layers exposes the build history, a deleted state file hidden behind a whiteout, and an original output the developer thought they overwrote. Two leaks invert a custom block cipher and hand back the flag.

    5 min read#CTF#Cybersecurity#Forensics

  • SekaiCTF 2026 — Filtered Reality Writeup

    A WordPress bureau where a subscriber spoofs an admin screen to leak a nonce, then a five-stage client-to-server chain ends in a php://filter RCE and a keeper hash length-extension to read the flag.

    10 min read#CTF#Cybersecurity#Web

  • squ1rrel CTF 2026 — rails Writeup

    Three small Rails mistakes chain together: an attacker-controlled constantize leaks the JWT signing secret, the admin middleware accepts any HS256 token signed with it, and an array query parameter defeats the reserved-post check to return the flag.

    6 min read#CTF#Cybersecurity#Web

  • TJCTF 2026 — loud-packets Writeup

    A pcap posing as a Bluetooth file transfer actually carries a WAV file split across 459 UDP packets. The audio is not a protocol — it is a Hellschreiber bitmap, and the spectrogram is the decoder.

    4 min read#CTF#Cybersecurity#Forensics

  • TraceBash 2026 — The Silent Echo Writeup

    A tiny capture that looks like DNS noise, a decoy ICMP flood and a fake SSH session. The real message is smuggled in two header fields nobody reads: the IP identification field of ICMP echoes and the TCP window size of an HTTP flow.

    3 min read#CTF#Cybersecurity#Forensics

  • TraceBash 2026 — Trusted Rules Writeup

    Trusted Types and a regex sanitizer bypassed in a Flask notes app: an HTML-entity-encoded iframe srcdoc runs inline script under CSP, reads the admin-only /admin/flag, and exfiltrates it via top-level navigation.

    6 min read#CTF#Cybersecurity#Web

  • Universal 2026 — Carrier Lock Writeup

    A raw satellite downlink that refuses to auto-frame. Recognize the CCSDS telemetry structure, undo the PN9 pseudo-randomizer, reassemble the space-packet stream, and the flag falls out of a single virtual channel carrying a fragmented message.

    5 min read#CTF#Cybersecurity#Forensics

  • UofTCTF 2026 — Baby Exfil Writeup

    A packet capture of a data-exfiltration implant that steals images off a Windows desktop, XORs them with a hard-coded key and POSTs them as hex. The served malware ships the key, so the whole capture decrypts back to the stolen files.

    4 min read#CTF#Cybersecurity#Forensics

  • UofTCTF 2026 — No Quotes Writeup

    A two-character quote ban, escaping the closing quote with a backslash, a hex-encoded UNION injection, and an SSTI in /home via render_template_string that ends in RCE.

    4 min read#CTF#Cybersecurity#SQL Injection

  • UofTCTF 2026 — Pasteboard Writeup

    DOMPurify is fine — the bug is a raw server-side sink plus DOM clobbering: I hijack window.renderConfig to force a throw, then use window.errorReporter.path.value to load an arbitrary script under strict-dynamic and exfiltrate the bot's cookie.

    4 min read#CTF#Cybersecurity#XSS

  • NoSQL Injection, Part 1: Operator Injection in MongoDB APIs

    Login bypass, password-reset takeover, and blind password extraction with $ne, $gt, $in, and $regex against a real Express + MongoDB driver lab. Includes why Express 5 only closes half the hole and why Mongoose 9 is still injectable by default.

    10 min read#NoSQL Injection#MongoDB#API Security

  • Security Logging: Who Accessed What, Decided How

    Authorization decisions must be observable: an event schema recording actor, tenant, object, action, and policy decision, plus how to test it.

    23 min read#Cybersecurity#Defense#Authorization

Follow new posts

No email newsletter; follow by RSS. Every new post lands here.