- Create an Instance in aws , in security tab , click on inbound rules , there add custom TCP check box & add the custom port you want to host it on to
- login to your instance , & install docker & start the docker service
$ sudo apt-get update
$ sudo apt-get install docker.io
$ sudo systemctl start docker
once everything is done , now build the Docker container & run it in background mode
$ docker build -t binexp .
$ docker images
$ docker run -d -it --rm -p 1337:1337 binexp
test & connect to the port using nc & see if everything is working or not
so the chall seems working on our intended Port
we will run our exploit against the intended port & our instance IP , so lets see