Web to root CTF using localhost
472
Run it or for deployment run following command
docker run -d -p 80:80 -p 22:22 hacksudo/localhostctf
Now do nmap
nmap and ip but what is ip ? Lets find target ip
Run the Docker Container
Once the image is downloaded, run the Docker container with the following command:
docker run -d -p 80:80 -p 22:22 hacksudo/localhostctf
Find container_id run following command:
docker ps
To find the IP address of the running Docker container, you can use the following command:
docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container_id> Replace <container_id> with the actual container ID.
Content type
Image
Digest
sha256:1cedd860a…
Size
122.3 MB
Last updated
about 2 years ago
docker pull hacksudo/localhostctf