HackTheBox - Tabby
00:00 - Intro
00:55 - Start of Nmap
01:25 - Taking a look at the web page
02:40 - Discovering Megahosting.HTB and adding it to /etc/hosts
04:04 - Playing with news.php and explaining the logic of LFI
08:40 - Discovering it is a file_get_contents(), which means we can skip all our "RCE Tests" as it won't execute PHP Code
11:20 - Poking at Tomcat and hunting for its tomcat-users.xml file to use with our LFI on apache2
17:30 - Uploading a JSP Webshell to tomcat with credentials found in tomcat-users.xml
20:20 - Using Curl to upload the JSP webshell.
23:10 - Whoops was uploading to the wrong port …
Watch on YouTube ↗
(saves to browser)
Chapters (19)
Intro
0:55
Start of Nmap
1:25
Taking a look at the web page
2:40
Discovering Megahosting.HTB and adding it to /etc/hosts
4:04
Playing with news.php and explaining the logic of LFI
8:40
Discovering it is a file_get_contents(), which means we can skip all our "RCE
11:20
Poking at Tomcat and hunting for its tomcat-users.xml file to use with our LFI
17:30
Uploading a JSP Webshell to tomcat with credentials found in tomcat-users.xml
20:20
Using Curl to upload the JSP webshell.
23:10
Whoops was uploading to the wrong port and then forgot to convert the JSP to a
25:38
Reverse shells having trouble running due to bad characters.
27:55
Downloading the shell to disk, then executing it in order to avoid special cha
31:15
Reverse shell returned and TTY fixed. Discovering an encrypted zip file that
35:00
Exploring the Zip file to find there's nothing really interesting
39:00
Trying the zip password as users on the box and getting a shell as Ash, droppi
42:00
Running linpeas
43:00
Discovering user is a member of LXD Group
44:42
Building an alpine container, then uploading it to the target machine
47:45
Uploading the alpine container and using lxc to privesc
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