Task 5

What strange text file is in the website root directory?

test; ls

Answer

drpepper.txt

How many non-root/non-service/non-daemon users are there?

test; cat /etc/passwd

Answer

0

What user is this app running as?

test; whoami

Answer

www-data

What is the user's shell set as?

test; cat /etc/passwd |grep www-data

Answer

/usr/sbin/nologin

What version of Ubuntu is running?

Answer

18.04.4

Answer

Dr Pepper

EXTRA

Spawn remote shell in that machine

Reverse Shell Cheat Sheet

  1. On your machine

  • Open a localport on your machine

  1. On vulnerable webpage

  • Spawn this remote shell in the search input.

Replace 10.18.1.159 with your own VPN IP

Last updated