Uploaded December 2025 | Updated November 2026, 3 hours ago
Advent of Code 2025 Day 7 visualizes a bean as it moves down the space hitting splitters. In part 1, I need to count the number of splits that happen. In part 2, I need to count the total number of paths possible through the space, assuming a partical could go either way at each splitter it reaches. Claude solves it almost the exact same way, other than that it uses a seperate loop for each part, whereas I did it in one loop.
Solutions Repo: gitlab.com/0xdf/aoc2025
VSCode Debug Setup: youtube.com/watch?v=cNhtk2Ob4B8
Claude: claude.ai
☕ Buy Me A Coffee: buymeacoffee.com/0xdf
[00:00] Introduction
[01:22] Pulling / examining input
[01:58] Finding S
[05:19] Debugging
[05:40] Solving part 1
[05:53] Part 2 introduction
[06:40] Strategy
[07:20] Refactoring beams into dictionary
[08:37] Refactoring to get to unstripped lines
[09:16] Keeping count of beams
[10:35] Counting beams
[10:50] Solving part 2
[11:02] Recapping solution
[12:56] Solving with Claude
[14:52] Analysis of Claude's solution
[16:20] Conclusion
#AdventOfCode #claude
Advent of Code 2025 Day 7 visualizes a bean as it moves down the space hitting splitters. In part 1, I need to count the number of splits that happen. In part 2, I need to count the total number of paths possible through the space, assuming a partical could go either way at each splitter it reaches. Claude solves it almost the exact same way, other than that it uses a seperate loop for each part, whereas I did it in one loop.
Solutions Repo: gitlab.com/0xdf/aoc2025
VSCode Debug Setup: youtube.com/watch?v=cNhtk2Ob4B8
Claude: claude.ai
☕ Buy Me A Coffee: buymeacoffee.com/0xdf
[00:00] Introduction
[01:22] Pulling / examining input
[01:58] Finding S
[05:19] Debugging
[05:40] Solving part 1
[05:53] Part 2 introduction
[06:40] Strategy
[07:20] Refactoring beams into dictionary
[08:37] Refactoring to get to unstripped lines
[09:16] Keeping count of beams
[10:35] Counting beams
[10:50] Solving part 2
[11:02] Recapping solution
[12:56] Solving with Claude
[14:52] Analysis of Claude's solution
[16:20] Conclusion
#AdventOfCode #claude
![NeoVault - HackTheSystem CTF
HackTheBox ran a Bug Bounty themed CTF, HackTheSystem June 27-29 2025. These challenges are all based on real bug bounty reports. NeoVault is a chance to find a insecure direct object reference (IDOR) vulnerability in a banking website. From there, Ill get show two ways to find a Mongo object id. First, Ill send money to the user and look at the requests to get their ID. Second, Ill show how to take another user id and get other ids that could have been generated around the same time on the same system.
Mongo blog post: https://techkranti.com/idor-through-mongodb-object-ids-prediction/
HackerOne report: https://hackerone.com/reports/1464168
mongo-objectid-predict (original): https://github.com/andresriancho/mongo-objectid-predict
mongo-objectid-predict (python3): https://github.com/ArmanHZ/mongo-objectid-predict
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:44] Challenge introduction
[01:02] BugBounty reports
[02:30] Website enumeration
[04:25] Request analysis
[06:50] API routes
[07:52] Finding IDOR
[09:40] Finding user ID by sending money
[11:00] Mongo ID brute force
[14:14] Conclusion
#bugbounty #ctf #hackthebox #idor #mongo NeoVault - HackTheSystem CTF](https://i.ytimg.com/vi/tbbL4hshrus/mqdefault.jpg)
![Playing with Jenkins File Read [CVE-2024-23897]
Im looking at CVE-2024-23897, a partial file read vulnerability in Jenkins that leads to RCE. The goal of this video is to understand the vulenrability and look at a Python POC for the exploit, understand what it does, and then run it and compare it to the output when exploiting manually with the Jenkins CLI (using Java as a Jar file).
Jenkins CVE-2024-23897 disclosure: https://www.jenkins.io/security/advisory/2024-01-24/
Jenkins CLI: https://www.jenkins.io/doc/book/managing/cli/#downloading-the-client
POC: https://github.com/binganao/CVE-2024-23897
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:06] Jenkins security advisory
[02:26] Python POC
[05:34] Exploitation with CLI
[07:25] Python POC
[08:32] Isolating list of commands
[10:35] Starting while loop over commands
[11:22] Rabbit hole about bash loop
[16:15] Getting stats on each command
[19:19] Future work
[20:06] Conclusion
#pentest #ctf #bugbounty #jenkins #java #python Playing with Jenkins File Read [CVE-2024-23897]](https://i.ytimg.com/vi/toPJhfy-wvw/mqdefault.jpg)
![Mull It Over [Day 3 - Advent of Code 2024 - Python]
I am given a large blob of junk text containing three potential instructions. In part 1, I need to find all the mul(X,Y) instructions, multiple the values, and return the sum. In part 2, Ill process do() and dont() instructions that enable and disable the muls. Ill show a bad path I went down assuming alternating dos and donts, and solve with a loop over results from a regex match for all three instructions with a match statement.
2024 AOC repo: https://gitlab.com/0xdf/aoc2024/
2024 AOC Intro vide: https://www.youtube.com/watch?v=4XKZZrhhiQE
VSCode Debug video: https://www.youtube.com/watch?v=cNhtk2Ob4B8
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:43] Part1 introduction
[01:09] Setup / data overview
[01:40] Getting instructions w/ regex
[03:20] Summing products
[04:25] Solving part 1
[04:39] Part 2 challenge
[05:50] Failed strategy with re.sub
[08:00] Refactor part 1 with loop
[11:00] Adding count for part2
[11:23] Conclusion
#adventofcode #python Mull It Over [Day 3 - Advent of Code 2024 - Python]](https://i.ytimg.com/vi/tx7HhBuSP6g/mqdefault.jpg)
![Uncheesable [0xff: One Last Address]
The HTB Content team made me a goodbye CTF consisting of four challenges. In this video, Ill solve Uncheesable, a forensics challenge involving a memory dump from a custom Linux kernel. Ill pull the necessary kernel information from the dump to build the symbols information necessary for Volatility to interact with the dump. Then Ill find a malicious process that reads an ELF from a socket and writes it to a temporary file in memory. Ill find that file in memory and dump it to get the flag.
Boot headers: https://docs.kernel.org/arch/x86/boot.html
vmlinux-to-elf: https://github.com/marin-m/vmlinux-to-elf
btf2json: https://github.com/vobst/btf2json
uv CheatSheet: https://0xdf.gitlab.io/cheatsheets/uv
Linux syscalls: https://www.chromium.org/chromium-os/developer-library/reference/linux-constants/syscalls/#x86_64_319
memfd_create man page: https://man7.org/linux/man-pages/man2/memfd_create.2.html
Fakedoor writeup: https://blog.alpha-carinae.xyz/posts/fakedoor-vol3/#constructing-objects
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:15] Challenge introduction
[01:49] HTB blog post overview
[03:52] Carving the bzImage file
[10:08] Kernel banners w/ volatility
[11:19] Creating System.map file
[12:38] Creating ELF from kernel
[13:20] Generating symbols
[15:26] Volatility3 works! Process list!
[16:24] Using plugins to get suspicious file
[21:27] Ghidra RE
[26:36] Recovering the in-memory file
[33:52] Conclusion
#ctf #volatility #vol3 #custom-linux-kernel #ghidra #forensics Uncheesable [0xff: One Last Address]](https://i.ytimg.com/vi/txL58cgIYkw/mqdefault.jpg)
![Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday]
In the CyberMonday box from HackTheBox, the foothold involves exploiting an algorithm confusion attack against a JWT. When I went to sign the new JWT with the public key, PyJWT rejected me. In this video, well show the rejection, find the code responsible, and modify it to allow me to sign.
HackTheBox CyberMonday: https://www.hackthebox.com/machines/cybermonday
CyberMonday Blog Post: https://0xdf.gitlab.io/2023/12/02/htb-cybermonday.html
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[02:16] Review public key
[02:38] Creating Virtual Environment
[04:17] Failure in Python Terminal
[08:10] Finding Responsible Code
[10:08] Modifying to Allow
[11:25] Conclusion
#pentest #ctf #bugbounty #python #pyjwt Hacking PyJWT for Algorithm Confusion Attack [HackTheBox CyberMonday]](https://i.ytimg.com/vi/uzHXHaRFckE/mqdefault.jpg)
![Day 10: Pipe Maze [AOC2023 Python]
For Advent of Code 2023 Day 10, I get a map of pipes that includes a loop and a bunch of random pipes not a part of the loop. In part 1, Ill use a breadth first search to find all the pipes in the loop. In part 2, Ill use ray casting to find which spots are enclosed in the loop.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/10
Ray casting algorithm: https://en.wikipedia.org/wiki/Point_in_polygon
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Part 1 description
[01:29] Input analysis
[02:08] Find start
[03:40] Find start type
[08:40] Update grid
[09:18] BFS
[11:30] get_valid_moves
[12:59] Debugging small issues
[14:20] Solve part 1
[14:35] Part 2 description
[16:19] Ray casting algorithm
[17:07] Removing non-loop items
[18:38] Walk each line
[22:30] Test cases
[23:24] Solve part 2
[23:32] Summary
#adventofcode #python Day 10: Pipe Maze [AOC2023 Python]](https://i.ytimg.com/vi/vJSETN-aTvw/mqdefault.jpg)
![Jumpio Adventure [HTB Stack Smash CTF]
As a teaser for the upcoming Stack Smash CTF, HackTheBox released Jumpio Adventure. Its a simple integer underflow followed by a buffer overflow to run the win function. Well show playing the game, reversing with Ghidra, debugging with gdb / Peda, and writing an exploit with Python and pwntools.
Stack Smash CTF: https://ctf.hackthebox.com/event/details/stacksmash-ctf-2538
Teaser Event: https://ctf.hackthebox.com/event/details/stacksmash-ctf-playground-2542
Peda: https://github.com/longld/peda
uv CheatSheet: https://0xdf.gitlab.io/cheatsheets/uv
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:48] Challenge introduction
[02:02] Playing game
[04:25] Ghidra RE
[14:00] BOF POC
[15:55] Finding overflow offset
[17:22] Solve script
[21:40] Using pwntools ELF
[22:56] Remote exploit
[23:53] Conclusion
#bugbounty #ctf #pwn #ghidra #reverse-engineering Jumpio Adventure [HTB Stack Smash CTF]](https://i.ytimg.com/vi/vQW113BLfvQ/mqdefault.jpg)
![Reversal [HackTheBox - Coding Challenge]
Reversal is a very easy challenge. I read in a string and return it reversed. Ill solve it quickly with slices, and then go into a rabbit hole showing reversed, and how it returns a generator.
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:30] Exploring input
[01:15] strings slices
[02:50] Solving with reversed
[03:55] Generators vs lists
[05:55] Exhausted generators
#python Reversal [HackTheBox - Coding Challenge]](https://i.ytimg.com/vi/vacwbdpXogw/mqdefault.jpg)
![(More) AWS CLI [Sans Holiday Hack 2022 - Cloud Ring]
A second challenge looking at the AWS CLI, this time using Trufflehog to leak creds from a public repo, and then using those to enumeration my access, eventually getting access to a S3 bucket and lambda functions, discovering a private URL.
SANS Holiday Hack 2022 writeup: https://0xdf.gitlab.io/holidayhack2022/cloud
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
#HolidayHack
[00:00] Introduction
[01:02] Trufflehog to get secrets
[02:13] Configure aws with secrets
[03:03] List managed policies for current user
[05:47] Getting policy details
[06:30] Getting default version of the policy
[07:46] List inline policies for current user
[08:56] Get policy associated with current user
[10:19] List objects in S3 bucket
[11:28] List lambda functions
[12:36] Find URL of function
[14:10] Trying to visit URL - error
[14:26] Wrap-up (More) AWS CLI [Sans Holiday Hack 2022 - Cloud Ring]](https://i.ytimg.com/vi/vvsAgpurH-Q/mqdefault.jpg)
![Playground [AOC2025 Day 8]
Advent of Code 2025 Day 8 involves connecting points in order of their distances apart. In part 1, Ill connect the closest 1000 points, and find the size of the three largest resulting sets. In part 2, Ill run until all the points are in one large set, calculating the answer from the x coordinates of the last two joined boxes. Ill use Union Find to manage my sets. Claude solves it almost the exact same way, other than that it uses a seperate loop for each part, whereas I did it in one loop.
Union Find Writeup: https://cp-algorithms.com/data_structures/disjoint_set_union.html
Union Find Video: https://www.youtube.com/watch?v=ayW5B2W9hfo
Solutions Repo: https://gitlab.com/0xdf/aoc2025
VSCode Debug Setup: https://www.youtube.com/watch?v=cNhtk2Ob4B8
Claude: https://claude.ai/
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:18] Pulling / examining input
[01:55] Processing points
[03:02] Calculating distances
[05:52] Union Find overview
[07:51] Create parent structure
[09:21] find_set function
[10:36] merge_sets function
[11:16] Merge closest sets
[12:50] Calculating set sizes
[14:10] Calculating part1 solution
[16:10] Solving part 1
[16:46] Part 2 introduction
[17:05] Strategy
[17:43] Refactoring dists loop
[18:45] Counting merges
[20:14] Finishing refactor of part 1
[20:48] Solving part 2
[21:05] Recapping solution
[21:29] Solving with Claude
[22:50] Analysis of Claudes solution
[26:29] Conclusion
#AdventOfCode #claude Playground [AOC2025 Day 8]](https://i.ytimg.com/vi/w9lRDqtWEA4/mqdefault.jpg)
![Copy Fail Explained [CVE-2026-31431]
Copy Fail is the latest Linux privesc CVE, and its a relatively simply exploit that overwrites files in the in-memory cache. The exploit will abuse this by overwriting the cahce for a SetUID binary and then running it. In this video Ill walk though the authors POC, show my own deobfuscated POC, and show how the vulnerability works. To close, Ill run it on the HTB Snapped machine and show how to cleanup the exploit.
Copy-Fail: https://copy.fail/#exploit
Original POC: https://github.com/theori-io/copy-fail-CVE-2026-31431
Deobfuscated POC: https://github.com/0xdf223/copy-fail-CVE-2026-31431
HTB Snapped post: https://0xdf.gitlab.io/2026/04/01/htb-snapped.html
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:13] Authors writeup
[02:00] Authors POC
[04:25] Deobfuscated POC
[04:26] Three interesting cases: shadow, root.txt, .bash_history
[05:17] Vulnerability / exploit overview
[06:56] Walking through POC
[08:52] Analysis of the compressed hex payload
[13:04] Running on HTB Snapped
[13:55] Cleanup
[14:55] Conclusion
#copy-fail #privescc #cybersecurity Copy Fail Explained [CVE-2026-31431]](https://i.ytimg.com/vi/wQ914geKOcw/mqdefault.jpg)