Sign inSign up

hacksudo/localhostctf

By hacksudo

•Updated about 2 years ago

Web to root CTF using localhost

Image
Security
Web servers
Operating systems
0

472

hacksudo/localhostctf repository overview

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.

Tag summary

Content type

Image

Digest

sha256:1cedd860a…

Size

122.3 MB

Last updated

about 2 years ago

docker pull hacksudo/localhostctf