HackTheBox - ForwardSlash
00:00 - Intro
00:52 - Begin of Nmap
02:50 - Running Gobuster to Bruteforce the pages and subdomains to find backup.forwardslash.htb
08:10 - Registering an account and examining the functions to signed in users
10:00 - Playing with the ProfilePicture.php to discover we can do file inclusion
12:50 - Testing for RFI
14:25 - Using the PHP Filter Wrapper to convert php files to base64 and extract source code
16:50 - Start of creating a script to automate this
19:40 - Terminal portion of the script completed, now to add HTTP Requests
23:30 - Script cannot access the page due to requiring a login ses…
Watch on YouTube ↗
(saves to browser)
Chapters (27)
Intro
0:52
Begin of Nmap
2:50
Running Gobuster to Bruteforce the pages and subdomains to find backup.forward
8:10
Registering an account and examining the functions to signed in users
10:00
Playing with the ProfilePicture.php to discover we can do file inclusion
12:50
Testing for RFI
14:25
Using the PHP Filter Wrapper to convert php files to base64 and extract source
16:50
Start of creating a script to automate this
19:40
Terminal portion of the script completed, now to add HTTP Requests
23:30
Script cannot access the page due to requiring a login session, hard code the
26:50
Script now is able to extract files off the server, now to add a save_file fun
34:00
Using the script we created as a library and building a brute forcer!
37:50
Manually looking at source code while our script runs in the background
42:00
Going back to gobuster seeing the "/dev" directory, extracting source to get c
45:00
Examining the Backup SetUID File with strace, explaining Path Injection (but i
48:00
Opening up the backup file in Ghidra
51:00
Using find to search for files owned by Pain to discover config.php.bak, then
53:40
Abusing the sudo rules to skip the crypto challenge. Upload a luks container
55:45
Creating a Luks Container
58:00
Adding a SetUID Binary in the luks container then uploading it, and executing
1:02:40
Going back to look over the Crypto Challenge
1:06:30
Using the program to encrypt text we know the key to, so we can build a brutef
1:14:00
Found a weird bug, we only need to know the first character of the key and len
1:23:40
Key found, decrypt the container
1:28:55
Going back to the ProfilePicture, and finding the SSRF + XXE Chain
1:33:50
Showing the importance of double URL Encoding
1:42:55
Creating ano
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 - Dungeon
IppSec
HHC2016 - Terminal Speedrun
IppSec
HHC2016 - Ads
IppSec
HHC2016 - Debug
IppSec
HHC2016 - Exception
IppSec
HHC2016 - Analytics
IppSec
HHC2016 - Getting Coins
IppSec
HackTheBox - Popcorn
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Tenten
IppSec
HackTheBox - CronOS
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Beep
IppSec
HackTheBox - Bastard
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Haircut
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 - Apocalyst
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - SolidState
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 - Bashed
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
HackTheBox - Nibbles
IppSec
DeepCamp AI