HackMyVM
Enumeration
Port 80
We need to add doc.hmv
to our /etc/hosts
file
/admin/login.php
Use the option “copy to file” and use this file on SQLmap
Log on /admin/login.php with adminyo | admin123
Reverse shell
- Go to settings
- Change the
System logo
to be a php reverse shell
User
Root
Start the binary with sudo and open another reverse shell
Use curl on getfile
directory with key
parameter. We can access every file on the box