Blackpearl
ffuf give us nothing
dnsrecon -r 127.0.0.0/24 -n 10.0.2.X -d blah
blackpearl.local 127.0.0.1
add this info inside your /etc/hosts
access blackpearl.local and see php page
try ffuf inside this new page
finded /navigate
search google -> navigate cms exploit
find Metasploit
set LHOST
set VHOST (blackpearl.local)
run
shell
user www-data
need to use privilege escalation
spawn tty shell (search google)
run linPEAS to privilege escalation
find SUID binaries
find / -type f -perm -4000 2>/dev/null
GRFObins
suid
use php module
/usr/bin/php7.3 XXXX(CODE_SUID_FROM_GRFOBINS)
DONE
Last updated