HackTheBox - Code
00:00 - Introduction
00:50 - Start of nmap
01:50 - Navigating to the page and discovering we can run Python Code but there is a filter blocking certain words
05:00 - Walking through filter evasion with python, showing loaded classes
07:45 - Calling popen to run a command
11:50 - Using List Comprehension in python to convert our multiline payload into a single line
14:30 - Looking at the database, grabbing the hash, cracking and switching users
16:00 - We can use sudo to run backy.sh with task.json, looking at the bash script to see we have a way to bypass the filter
20:10 - Having trouble exploiting out of a temp directory, will explain later
24:50 - Copying task.json to a different directory and it magically works
27:00 - Explaining why we couldn't do this in a temp directory, sticky bit makes it a protected file!
35:20 - Showing another way to root it, just ignore the ../ replacement and since bash continues on error by default it still works
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from IppSec · IppSec · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
HHC2016 - Analytics
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Lazy
IppSec
Camp CTF 2015 - Bitterman
IppSec
HackTheBox - Devel
IppSec
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
HackTheBox - Granny and Grandpa
IppSec
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
HackTheBox - Optimum
IppSec
HackTheBox - Charon
IppSec
HackTheBox - Sneaky
IppSec
HackTheBox - Holiday
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - Shrek
IppSec
HackTheBox - Mirai
IppSec
HackTheBox - Shocker
IppSec
HackTheBox - Mantis
IppSec
HackTheBox - Node
IppSec
HackTheBox - Kotarak
IppSec
HackTheBox - Enterprise
IppSec
HackTheBox - Sense
IppSec
HackTheBox - Minion
IppSec
VulnHub - Sokar
IppSec
VulnHub - Pinkys Palace v2
IppSec
HackTheBox - Inception
IppSec
Vulnhub - Trollcave 1.2
IppSec
HackTheBox - Ariekei
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
How To Create Empire Modules
IppSec
HackTheBox - Nightmare
IppSec
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
HackTheBox - Bart
IppSec
HackTheBox - Aragog
IppSec
HackTheBox - Valentine
IppSec
HackTheBox - Silo
IppSec
HackTheBox - Rabbit
IppSec
HackTheBox - Celestial
IppSec
HackTheBox - Stratosphere
IppSec
HackTheBox - Poison
IppSec
HackTheBox - Canape
IppSec
HackTheBox - Olympus
IppSec
HackTheBox - Sunday
IppSec
HackTheBox - Fighter
IppSec
HackTheBox - Bounty
IppSec
More on: Security Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Operational continuity is not governability.
Medium · Deep Learning
AI gave North Korean hackers a $600 million month. DeFi is still working out how to respond.
The Next Web AI
The Fallacy of Vibe-Driven Development: A Critical Look at AI Scaling
Dev.to · Aneesha Prasannan
New Jersey’s 2026 AI Push
Dev.to AI
Chapters (12)
Introduction
0:50
Start of nmap
1:50
Navigating to the page and discovering we can run Python Code but there is a f
5:00
Walking through filter evasion with python, showing loaded classes
7:45
Calling popen to run a command
11:50
Using List Comprehension in python to convert our multiline payload into a sin
14:30
Looking at the database, grabbing the hash, cracking and switching users
16:00
We can use sudo to run backy.sh with task.json, looking at the bash script to
20:10
Having trouble exploiting out of a temp directory, will explain later
24:50
Copying task.json to a different directory and it magically works
27:00
Explaining why we couldn't do this in a temp directory, sticky bit makes it a
35:20
Showing another way to root it, just ignore the ../ replacement and since bash
🎓
Tutor Explanation
DeepCamp AI