HackTheBox - Pikaboo
00:00 - Intro
01:05 - Start of nmap
03:00 - Discovering the webserver is apache, despite nmap saying it is nginx
06:30 - Every request with /admin gets a 401, indication that nginx location may not end with /
07:30 - Doing the nginx lfi to grab apache server-stats and leak the /admin_staging/ directory
08:30 - Running gobuster in /admin_staging/ to discover more php scripts
09:20 - Testing index.php for lfi with a php filter
12:00 - Looking at the source and seeing it is using include() which allows for RCE if we can get it pointed at php code
13:50 - Playing with the LFI, eventually finding i…
Watch on YouTube ↗
(saves to browser)
Chapters (18)
Intro
1:05
Start of nmap
3:00
Discovering the webserver is apache, despite nmap saying it is nginx
6:30
Every request with /admin gets a 401, indication that nginx location may not e
7:30
Doing the nginx lfi to grab apache server-stats and leak the /admin_staging/ d
8:30
Running gobuster in /admin_staging/ to discover more php scripts
9:20
Testing index.php for lfi with a php filter
12:00
Looking at the source and seeing it is using include() which allows for RCE if
13:50
Playing with the LFI, eventually finding info.php which tells us open_basedir
16:35
Using wfuzz with an LFI wordlist to search for files we can chain with this LF
19:00
Poisoning the FTP log with a php reverse shell then using the LFI to trigger i
24:15
Looking at the /opt/pokeapi directory to find a LDAP credentials
25:45
Using ldapsearch to dump information out of the linux ldap server to get pwnme
28:25
Using ftp with pwnmeow's credentials, then running linpeas
32:35
Examining the CSVUpdate cron and finding a code injection vulnerability in the
35:20
Going over why perl will execute a variable starting or ending with | with an
37:30
Creating a revers shell file that begins with |
41:30
Uploading our malicious file via FTP and getting root
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