Uploaded December 2025 | Updated November 2026, 3 hours ago
Advent of Code 2025 Day 11 provides a list of nodes and the nodes that come after each one. I'll use recusrion to build a function that can count the number of paths between two nodes. In part 1, that solves. In part 2, I can use that, multiplying a few together to get an answer. Claude solves it very easily.
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
[00:50] Pulling / examining input
[01:29] Parsing input
[02:35] Function to count paths between nodes
[03:57] Solving part 1
[04:22] Part 2 introduction
[05:08] Debugging on new example
[06:45] Looking at paths between fft and dac
[07:44] Multiplying paths
[08:39] Running, but too slow
[08:52] Adding caching to count_paths function
[09:20] Solving part 2
[09:35] Solving with Claude
[10:49] Analysis of Claude's solution
[12:15] Conclusion
#AdventOfCode #claude
Advent of Code 2025 Day 11 provides a list of nodes and the nodes that come after each one. I'll use recusrion to build a function that can count the number of paths between two nodes. In part 1, that solves. In part 2, I can use that, multiplying a few together to get an answer. Claude solves it very easily.
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
[00:50] Pulling / examining input
[01:29] Parsing input
[02:35] Function to count paths between nodes
[03:57] Solving part 1
[04:22] Part 2 introduction
[05:08] Debugging on new example
[06:45] Looking at paths between fft and dac
[07:44] Multiplying paths
[08:39] Running, but too slow
[08:52] Adding caching to count_paths function
[09:20] Solving part 2
[09:35] Solving with Claude
[10:49] Analysis of Claude's solution
[12:15] Conclusion
#AdventOfCode #claude
![Insane Bolt [HackTheBox - Coding Challenge]
Insane Bolt is a medium difficulty coding challenge. Ill connect to a socket and read unicode dungeon maps. Ill have to navigate the robot through the maze collecting bolts and a gem, taking the shortest path. And Ill have to do that 500 times! Ill use BFS to make quick work of this.
Final code: https://gitlab.com/0xdf/ctfscripts/-/blob/master/htb-insane_bolt/solve.py
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:04] nc interaction
[01:49] Dependencies with uv
[03:39] Handle args
[04:18] Connect and general structure
[06:23] Unicode to ASCII
[11:13] Getting start, end, and path spaces
[13:56] BFS background
[15:20] BFS
[19:14] Working out bugs
[20:57] Parse / print status messages
[24:00] Handling EOFError
[25:36] Conclusion
#python #uv Insane Bolt [HackTheBox - Coding Challenge]](https://i.ytimg.com/vi/QzZ1viedbeE/mqdefault.jpg)
![NovaEnergy - HackTheSystem CTF
HackTheBox is running a Bug Bounty themed CTF, HackTheSystem June 27-29 2025. These challenges are all based on real bug bounty reports. There are two teaser challenges that are out now! Ill showcase one of them, NovaEnergy. Well find a Swagger API docs that allows us to leak an email verification token and bypass owning the email we registered with.
HackTheSystem - Bug Bounty CTF: https://ctf.hackthebox.com/event/details/hack-the-system-bug-bounty-ctf-2508
HackTheSystem Teaser Playground: https://ctf.hackthebox.com/event/details/hack-the-system-bug-bounty-ctf-playground-2509
HackerOne report: https://hackerone.com/reports/2712583
Mozilla Verification Bypass blog post: https://0d-amr.medium.com/bypass-email-verification-in-mozilla-2ab45ac36c42
CriticalOps Challenge w/ IppSec: https://youtu.be/j7uj1f6VkSs
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:02] Challenge introduction
[01:50] Exploring site
[03:24] Registering an account
[04:05] Looking at requests in Burp
[05:36] Directory brute force w/ feroxbuster
[07:30] Enumerating API
[08:30] Brute force again in /api/
[09:40] Swagger docs
[11:10] /email-verify endpoint
[12:18] /userDetails endpoint
[12:48] Solving challenge
[13:22] Bug bounty report / blog
[15:10] Conclusion
#bugbounty #ctf #hackthebox NovaEnergy - HackTheSystem CTF](https://i.ytimg.com/vi/Ru5toDyKNjg/mqdefault.jpg)
![Using GitHub to Look at Source for a CVE [HackTheBox - Forgot]
In Forgot from HackTheBox, Ill need to exploit an insecure use of tensorflow. Theres a CVE that does the same exploitation, and I want to see what the vulnerable code looks like. As a beginner, looking at GitHub for a large opensource project can be intimidating. Ill show how to find the code were looking for a couple ways, and find where it was patched to fix the default vulnerable behavior.
#pentest #ctf #bugbounty
Forgot blog post: https://0xdf.gitlab.io/2023/03/04/htb-forgot.html#cve-2022-29216
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:44] Googling function, finding CVE
[01:23] CVE-2022-29216 advisory
[02:12] Finding function in source
[03:45] Looking at function
[06:06] eval vs ast.literal_eval
[07:05] Finding code within project Using GitHub to Look at Source for a CVE [HackTheBox - Forgot]](https://i.ytimg.com/vi/S3BrESgR_Gg/mqdefault.jpg)
![Lobby [AOC2025 Day 3]
Advent of Code 2025 Day 3 provides lines of digits. I need to pick digits from each line without changing the order to make the largest integer possible. In part 1, Im looking for two digits. In part 2, I need 12. Claude has a hiccup on this one, trying to check all possible combinations of size 12, which is very large. When I break in and say theres a much faster solution, it solves it almost immediately. I ran Claude again, and it solved it without issue.
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
[00:58] Pulling / examining input
[01:28] Strategy
[02:41] Messing with parsing then giving up
[03:42] Loop to find total power
[04:59] Fixing errors
[05:30] Solving part 1
[05:37] Part 2 introduction
[06:14] Refectoring part 1
[11:32] Fixing bugs
[13:55] Solving part 2
[14:37] Solving with Claude
[15:53] Stopping stuck Claude
[17:06] Re-prompting Claude to get back on track
[17:49] Analysis of Claudes solution
[19:56] Claude solve #2
[21:50] Conclusion
#AdventOfCode #claude Lobby [AOC2025 Day 3]](https://i.ytimg.com/vi/SDHlrk8dttQ/mqdefault.jpg)
![AWS CLI (Very) Intro [Sans Holiday Hack 2022 - Cloud Ring]
In this intro challenge, Ill look at the AWS command line utility and show how to use the help menus to solve a simple question for the SANS Holiday Hack Challenge.
SANS Holiday Hack 2022 writeup: https://0xdf.gitlab.io/holidayhack2022/cloud
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
#HolidayHack
[00:00] Introduction
[00:37] aws CLI overview / exploration
[01:20] aws help
[01:53] aws configure
[02:59] Get current caller identity
[04:12] Wrap-up AWS CLI (Very) Intro [Sans Holiday Hack 2022 - Cloud Ring]](https://i.ytimg.com/vi/SElHnC-OV_o/mqdefault.jpg)
![jq Injection [Jason - Hacky Easter 2023]
Jason is a jq injection challenge. Ill show how I initially solved it, and then simplify the answer down to show a couple shorter paths, all while demonstrating what jq is doing on the server.
Hacky Easter: https://23.hackyeaster.com/
Challenge: nc ch.hackyeaster.com 2304 (should be up through late June 2023)
My post on jq: https://0xdf.gitlab.io/2018/12/19/jq.html
rlwrap: https://github.com/hanslub42/rlwrap
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:53] Challenge page
[01:10] rlwrap demo
[01:47] Connecting
[02:05] Fuzzing input
[03:12] Local jq testing
[04:42] Bad assumption
[05:05] Solving with variables
[06:44] Using space pipe
[07:25] Printing full json
[08:01] Conclusion
#pentest #ctf #HackyEaster jq Injection [Jason - Hacky Easter 2023]](https://i.ytimg.com/vi/S_Gr3kZZ3HY/mqdefault.jpg)
![Automating x64dbg with x64dbgpython [Serpentine - Flare-On 2024]
For one of the Flare-On Challenges this year, #9 Serpentine, I needed to automate how I interact with my Windows debugger, x64dbg. In this video Ill show how to install the x64dbgpython plugin and start writing scripts that control the debugger with the full power of Python.
x64dbgpython Repo: https://github.com/ElvisBlue/x64dbgpython
Flare-On 2024 Solutions: https://0xdf.gitlab.io/flare-on-2024/
Final Tracer Script: https://gitlab.com/0xdf/ctfscripts/-/blob/master/flareon2024-9-serpentine/tracer-all.py
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:39] Installing plugin
[02:20] HelloWorld examples
[04:28] Strategy: test.py
[05:48] Quick binary overview
[09:10] Demo script
[15:27] Walking through final script
[20:21] Conclusion
#x64dbg #ctf #python Automating x64dbg with x64dbgpython [Serpentine - Flare-On 2024]](https://i.ytimg.com/vi/SkKaSn5JxAg/mqdefault.jpg)
![Day 2 - Bathroom Security [Revival of Code 2023 - Advent of Code 2016]
Python Discord is doing an event called Revival of Code, where we work through the 2016 Advent of Code, one challenge every two days. The day 2 challenge, Bathroom Security, involves following directions around a digital keypad to figure out what buttons to push. The trick is to figure out when youre stepping off the edge of the keypad and do nothing instead.
Repo for Advent of Code 2016 Solutions: https://gitlab.com/0xdf/aoc2016
Intro video for this event: https://www.youtube.com/watch?v=qEPpsS0StQI
Real Python post with templates: https://realpython.com/python-advent-of-code/
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:25] Challenge Part 1
[01:24] genday.sh script
[01:46] Input analysis
[02:10] Part 1 tests
[04:02] Quick overview of stub
[04:30] parse function
[05:03] Part 1 strategy
[05:43] Creating map from direction to move
[06:40] Looping over input
[09:02] Debugging failing test
[09:51] Solving part 1
[10:08] Challenge part 2
[11:04] Part 2 tests
[11:50] Part 2 strategy
[13:52] part2 function
[15:14] Creating maps
[17:06] Conclusion
#ctf #adventofcode #revivalofcode #python Day 2 - Bathroom Security [Revival of Code 2023 - Advent of Code 2016]](https://i.ytimg.com/vi/Sp7U64ylPjE/mqdefault.jpg)
![Splunk Docker Container for CloudTrail Analysis
When it comes to analysis of a large set of log files, it can be super useful to have an instance of Splunk available to work with. Getting Splunk set up can be intimidating, but it doesnt have to be. Ill show how to stand up a Splunk Docker container and load AWS Cloudtrail logs into it.
Splunk Docker: https://docs.splunk.com/Documentation/Splunk/9.2.1/Installation/DeployandrunSplunkEnterpriseinsideDockercontainers
HackTheBox Nublium-1: https://app.hackthebox.com/sherlocks/Nubilum-1
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:55] Data overview
[02:12] Creating Splunk container
[05:50] Loading data from folder
[08:28] Showing issue with data
[10:41] Creating single file without Records
[12:30] Clearing Splunk
[13:10] Uploading as _json
[14:14] Issues with _json
[19:38] Loading with custom source type
[22:55] Conclusion
#dfir #ctf #splunk #cloudtrail Splunk Docker Container for CloudTrail Analysis](https://i.ytimg.com/vi/TG6zBnSgf5M/mqdefault.jpg)
![Restroom Redoubt [Day 14 - Advent of Code 2024 - Python]
Im given a list of robots each with x, y positions and velocity. In part 1, I need to get the position of every robot after 100 seconds, and calculate a score based on the quadrant the robot falls into. For part 2, Im asked to find when the robots line up to form the shape of a Christmas tree. This is a rather silly problem, but Ill find it by plotting the safety score over time and seeing a really low one that jumps out.
2024 AOC repo: https://gitlab.com/0xdf/aoc2024/
2024 AOC Intro video: 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] Part1 introduction
[01:00] Setup / data overview
[01:26] Defining width / height
[02:08] Looping over lines, parsing
[03:22] Moving each robot to 100
[03:59] Finding quad
[05:44] Solving part 1
[05:58] Part 2 challenge
[06:39] Strategy
[07:00] Refactor safety score
[07:50] Getting list of robots
[08:11] Solving part 1 refactored
[09:07] Collecting safety score over time
[10:27] Plotting safety score
[11:18] Solving part 2
[11:31] Plotting Christmas tree
[13:20] Conclusion
#adventofcode #python Restroom Redoubt [Day 14 - Advent of Code 2024 - Python]](https://i.ytimg.com/vi/TO1xJg8vIMI/mqdefault.jpg)
![PHP Filter Injection: LFI2RCE Explained
Theres a relatively new technique called LFI2RCE, which takes a local file include in PHP and uses it to get remote code execution without having to upload a file. This was first introduced by a CTF player named loknop, and picked up and spread by HackTricks, and then polished by Synative. It involves using PHP filters to convert junk over and over to put the desired text at the front. Well dive into this and see how it works.
HackTricks LFI2RCE: https://book.hacktricks.xyz/pentesting-web/file-inclusion/lfi2rce-via-php-filters
loknops CTF writeup: https://gist.github.com/loknop/b27422d355ea1fd0d90d6dbc1e278d4d
Detailed Synactive Writeup: https://www.synacktiv.com/publications/php-filters-chain-what-is-it-and-how-to-use-it.html
php_filter_chain_generator: https://github.com/synacktiv/php_filter_chain_generator
LFI examples:
- Poison: https://0xdf.gitlab.io/2018/09/08/htb-poison.html#web-shell-via-log-poisoning
- Pikaboo: https://0xdf.gitlab.io/2021/12/04/htb-pikaboo.html#log-poisoning
- Trick: https://0xdf.gitlab.io/2022/10/29/htb-trick.html#shell-via-mail-include
- CrimeStoppers: https://0xdf.gitlab.io/2018/06/03/htb-crimestoppers.html#webshell
- UpDown: https://0xdf.gitlab.io/2023/01/21/htb-updown.html#php-execution
RFI examples:
- Sniper: https://0xdf.gitlab.io/2020/03/28/htb-sniper.html#path-2 rfi
- Proper: https://0xdf.gitlab.io/2021/08/21/htb-proper.html#rfi
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:06] Dummy PHP page
[03:32] Abusing to read files
[04:26] Abusing with webshell upload
[06:18] Remote file includes
[07:08] Overview of LFI2RCE
[08:00] php://temp
[09:34] Analysis of main function in script
[10:24] generate_filter_chain analysis
[10:58] Showing garbage generation in php terminal
[12:46] Adding characters to front of junk
[15:12] Letting code build script as base64
[16:10] Running script and testing output
[17:40] Overview of where this comes from
[18:47] Challenge of long URLs PHP Filter Injection: LFI2RCE Explained](https://i.ytimg.com/vi/TnLELBtmZ24/mqdefault.jpg)