Uploaded October 2023 | Updated November 2026, 3 hours ago
In Intentions from HackTheBox, I'll get a binary with the capabilities to read any file on the file system. This file will get an MD5 sum on the first N bytes of a file, where I control the filename and N. In this video, I'll show how to write a simple Python script that allows for reading any file on the file system by brute forcing it byte by byte.
Intentions Blog Post: 0xdf.gitlab.io/2023/10/14/htb-intentions.html
HTB Intentions: hackthebox.com/machines/intentions
☕ Buy Me A Coffee: buymeacoffee.com/0xdf
[00:00] Introduction
[01:13] Overview of scanner
[02:17] Outline of main Python script
[05:38] Forgot we didn't finish!
[06:11] Using subprocess to get hash from scanner
[07:33] Using PDB to figure out syntax for stdout
[08:36] Brute forcing next byte
[09:52] Fixing output print
[10:22] Catching error from scanner
[11:45] Weirdness of scanner
[12:02] Showing success
#pentest #ctf #bugbounty
In Intentions from HackTheBox, I'll get a binary with the capabilities to read any file on the file system. This file will get an MD5 sum on the first N bytes of a file, where I control the filename and N. In this video, I'll show how to write a simple Python script that allows for reading any file on the file system by brute forcing it byte by byte.
Intentions Blog Post: 0xdf.gitlab.io/2023/10/14/htb-intentions.html
HTB Intentions: hackthebox.com/machines/intentions
☕ Buy Me A Coffee: buymeacoffee.com/0xdf
[00:00] Introduction
[01:13] Overview of scanner
[02:17] Outline of main Python script
[05:38] Forgot we didn't finish!
[06:11] Using subprocess to get hash from scanner
[07:33] Using PDB to figure out syntax for stdout
[08:36] Brute forcing next byte
[09:52] Fixing output print
[10:22] Catching error from scanner
[11:45] Weirdness of scanner
[12:02] Showing success
#pentest #ctf #bugbounty
![Digging into OFBiz Exploitation
There was a diary on the Sans Internet Storm Center page about increased exploitation attempts at their honeypots for CVE-2024-32113, which gives RCE against Apache OFBiz instances. Ill show how the exploit works on the HackTheBox Bizness machine, and then look at the patches to fix CVE-2024-32113, and then where the exploit is actually fixed in the patches for CVE-2024-36104.
Sans ISC Article: https://isc.sans.edu/diary/Increased+Activity+Against+Apache+OFBiz+CVE202432113/31132/
OFBiz Security Page: https://ofbiz.apache.org/security.html
TIO.run: https://tio.run/
HTB Bizness Blog Post: https://0xdf.gitlab.io/2024/05/25/htb-bizness.html
HTB Bizness: https://hacktheboxltd.sjv.io/g1jVD9?u=https%3A%2F%2Fapp.hackthebox.com%2Fmachines%2Fbizness
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:15] Article Review
[02:28] Exploiting CVE-2024-32113 on HTB
[05:45] Looking at fix on GitHub
[07:00] Trying fix on TIO
[08:10] Looking at next CVE, CVE-2024-36104
[09:30] Conclusion
#ofbiz #sansics #cve-2024-32113 #cve-2024-36104 Digging into OFBiz Exploitation](https://i.ytimg.com/vi/J_IxCBjd4Pw/mqdefault.jpg)

![Day 8: Haunted Wasteland [AOC2023 Python]
For Advent of Code 2023 Day 8, I get a series of left/right instructions, and a series of nodes and what comes to the left and right of them. In part 1, I just need to walk the path from AAA to ZZZ counting steps. In part 2, Ill need to track six ghosts at once, each from different starting places to end points. Ill calcuate their cycle length, and use the LCM to get the answer.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/8
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
#adventofcode #python
[00:00] Part 1 description
[01:19] Input analysis
[01:51] Parsing input
[05:57] Walking the path
[07:33] Running on examples and solving
[08:05] Part 2 description
[09:15] How many ghosts
[09:55] Looking at cycles in AAA
[11:48] Fixing play script
[12:33] Looking at cycle length
[15:26] Cycle time for each ghost
[19:11] Getting LCM of cycles
[19:50] Summary Day 8: Haunted Wasteland [AOC2023 Python]](https://i.ytimg.com/vi/JvGbIGMvVtA/mqdefault.jpg)
![Historian Hysteria [Day 1 - Advent of Code 2024 - Python]
In this video Ill look at sorting and combining two lists parsed from columns of data.
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] Challenge introduction
[00:45] Data overview
[01:18] Parsing input into two lists
[04:30] Solving part 1
[05:59] Part 2 challenge
[06:29] Solving part 2
[07:35] Running on example and puzzle input
#adventofcode #python Historian Hysteria [Day 1 - Advent of Code 2024 - Python]](https://i.ytimg.com/vi/Jw2yvzZ38OI/mqdefault.jpg)
![Plutonian Pebbles [Day 11 - Advent of Code 2024 - Python]
Im given a list of numbers. At each iteration (blink), a stone either splits in two or has its value change. This leads to expoential growth in the length of the list. In part 1, I just follow the rules and track the list. In part two, Ill use a recursive cached function to let the calculation happen in reasonable time.
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] Part1 introduction
[01:30] Strategy
[02:19] Setup / data overview
[02:48] Parsing input
[03:20] Inefficient solution
[06:14] Solving part 1
[06:31] Part 2 challenge
[06:40] Showing inefficient solution too slow
[08:00] functools cache
[10:09] Recursive count func
[12:29] Summing all stones
[12:50] Fixing str/int bug
[14:03] Solving part 2
[14:24] Conclusion
#adventofcode #python Plutonian Pebbles [Day 11 - Advent of Code 2024 - Python]](https://i.ytimg.com/vi/JxIAqiUJraE/mqdefault.jpg)
![State of 0xdf (2026)
Lets chat about the state of 0xdf content. Well go into the blog posts from 2025, Google Analytics, and YouTube analytics.
Blog: https://0xdf.gitlab.io
Cheatsheets: https://0xdf.gitlab.io/cheatsheets/
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:06] Blog post stats
[04:07] Google Analytics from website
[09:18] YouTube Analytics
[17:58] Personal Update State of 0xdf (2026)](https://i.ytimg.com/vi/KCo69_D8d2E/mqdefault.jpg)
![Day 19: Aplenty [AOC2023 Python]
For Advent of Code 2023 Day 19, I get a series of rules that apply to parts based on various features of the part. The rules show what stage to pass the part to next, before each part is eventually accepted or rejected. In part 1, I process a list of a few hundred parts. In part 2, they say that each of a parts four attributes can have values 1 - 4000. The question is how many possible parts can be accepted. Ill need to send ranges through a workflow function to get the result. Ill make heavy use of recursion in both parts.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/19
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Oops
[00:52] Part 1 description
[02:33] Input analysis
[04:10] Getting workflows and parts
[04:54] Parsing workflows
[09:20] Testing workflow parsing
[10:23] Looping over parts
[12:30] apply_workflows
[16:09] Solve part 1
[16:28] Part 2 description
[17:13] New setup working over ranges
[18:42] apply_workflow_ranges
[28:29] Solve part 2
[28:56] Summary
#adventofcode #python Day 19: Aplenty [AOC2023 Python]](https://i.ytimg.com/vi/KF7jtMocf40/mqdefault.jpg)
![Day 3: Gear Ratios [AOC2023 Python]
For Advent of Code 2023 Day3, I get a grid with digits, symbols, and empty (dots). Ill have to find numbers that are adjacent to symbols, and sum them up. In part 2, I have to find * with two numbers and get the sum of their products.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/3
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
#adventofcode #python
[00:00] Part 1 description
[01:00] Part 1
[13:32] Part 2 description
[14:03] Part 2
[21:25] Summary Day 3: Gear Ratios [AOC2023 Python]](https://i.ytimg.com/vi/LLfOiUf8pEU/mqdefault.jpg)
![Creating VMs with Vagrant
I got to playing with Vagrant to create VirtualBox VMs. In this video well talk about how to install, creating our first VM, configuring it to change the CPUs and display driver, talk about plugins for setting disk size, managing VBox tools, and rebooting. Ill install the GUI package into the non-GUI base image to get a full functioning VM.
Install Vagrant: https://developer.hashicorp.com/vagrant/downloads
Vagrant Boxes: https://app.vagrantup.com/boxes/search
Vagrant Base Box Criteria: https://developer.hashicorp.com/vagrant/docs/boxes/base
IppSecs Ansible Video: https://www.youtube.com/watch?v=2y68gluYTcc
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[01:12] Setup and installs
[03:00] Finding base image
[04:11] What makes a base box
[04:47] First Vagrantfile
[05:33] Building first VM
[06:40] Looking at first VM
[07:52] Updated VM config
[12:45] Building configured VM
[13:20] Reviewing updated build
[14:42] Vagrant provisioning script
[15:52] Adding script to install GUI / Ansible
[16:41] Building with install script
[18:00] Rebooting to get GUI, reboot plugin
[18:45] Looking at VM, next steps
#pentest #ctf #vagrant #virtualbox Creating VMs with Vagrant](https://i.ytimg.com/vi/LNInq9J3uM0/mqdefault.jpg)
![Analysis of CVE-2023-37474 in CopyParty
I recently came across CVE-2023-37474, a directory traversal vulnerability in CopyParty. In this video, Ill take the NVD description and a Snyk POC for the vulnerability and find the vulnerable code using grep.app. Then Ill understand how the code works, why it was a bug, and demo the vulnerable version on my host.
NVD CVE-2023037474: https://nvd.nist.gov/vuln/detail/CVE-2023-37474
Snyk POC: https://security.snyk.io/vuln/SNYK-PYTHON-COPYPARTY-5777718
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
[00:00] Introduction
[00:49] NVD page
[01:14] Snyk POC
[01:37] Strategy
[02:00] Finding vulnerable code
[03:45] Python os.path.join demo
[05:20] Installing vulnerable version
[06:17] Running and exploiting vulnerable version
[08:28] Upgrading to recent version
[09:58] Conclusion
#copyparty #python #directory-traversal Analysis of CVE-2023-37474 in CopyParty](https://i.ytimg.com/vi/LVDBpON4_IQ/mqdefault.jpg)
![Day 6: Wait For It [AOC2023 Python]
For Advent of Code 2023 Day6, Im given a series of times and distances. Each pair represents a race, where the time is the amount of time to solve it, and the distance is the record distance for that race. I am able to split the time between reving the engine and going. The longer I rev, the fast I move for the remaining time. Ill use quadratic math to solve the challenge. At the end, Ill show that brute force would have also worked in reasonable time.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/6
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
#adventofcode #python
[00:00] Part 1 description
[01:40] Input analysis
[02:32] Parsing input
[04:54] Writing part 1
[08:45] Debugging
[10:46] Solving part 1
[10:57] Part 2 description
[11:32] Solve part 2
[12:55] Brute force solution Day 6: Wait For It [AOC2023 Python]](https://i.ytimg.com/vi/LoTMhND-xBE/mqdefault.jpg)