Python Debugging [Chemistry - HackTheBox] @0xdf
Python Debugging [Chemistry - HackTheBox]  @0xdf
Uploaded March 2025 | Updated November 2026, 3 hours ago
In Chemistry from HackTheBox, I am able to expliot a deserialization vulenrability in pymatgen to get RCE. My Bash reverse shell was acting a bit odd, and in this video, I'll show the process to figure out what was happening, adding breakpoints to debug live on HTB.

Full Chemistry solution: 0xdf.gitlab.io/2025/03/08/htb-chemistry.html
IppSec's Chemistry video: youtube.com/watch?v=OH00LkpHyLk
Bash reverse shell explainer: youtube.com/watch?v=OjkVep2EIlw

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[01:30] Conundrum overview
[03:33] Getting Flask running debuggable
[06:36] Adding breakpoint in library
[07:57] Debugging broken payload
[09:26] Showing source of added *
[12:23] Why does /bin/bash work?
[14:17] Conclusion

#HackTheBox #ctf #python #debug #flask
Python Debugging [Chemistry - HackTheBox]Claw Contraption [Day 13 - Advent of Code 2024 - Python]Day 11 - Radioisotope Thermoelectric Generators [Revival of Code 2023 - Advent of Code 2016]Trash Compactor [AOC2025 Day 6]Hash Extension Attack [HackTheBox Ouija]Analysis of a Python / GRPC Application [PC - HackTheBox]Configuring VSCode to Debug Python [AOC2023 Python]Day 7 - Internet Protocol Version 7 [Revival of Code 2023 - Advent of Code 2016]MinMax [HackTheBox - Coding Challenge]Python Script to Read Files on RainyDay [HackTheBox]Recent Updates in Feroxbuster 2.9.1Day 16 - Dragon Checksum [Revival of Code 2023 - Advent of Code 2016]
0xdf |

Python Debugging [Chemistry - HackTheBox]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER