diff --git a/README.md b/README.md index 2d391fb..b951b5a 100644 --- a/README.md +++ b/README.md @@ -13,10 +13,12 @@ Here is a docker image to use to solve most of the CTF on the platform! If you a ``` ## Usage -`docker run --security-opt seccomp=unconfined --rm -v $PWD:/work -it atrouill/42ctf /bin/ash` +``` +docker run --security-opt seccomp=unconfined --rm -v `pwd`:/42ctf -it atrouill/42ctf /bin/ash +``` For more simplicity you can do : - -`echo 'alias 42ctf="docker run --security-opt seccomp=unconfined --rm -v $PWD:/work -it atrouill/42ctf /bin/ash"' >> ~/.zshrc && source ~/.zshrc` - +```bash +echo 'alias 42ctf="docker run --security-opt seccomp=unconfined --rm -v `pwd`:/42ctf -it atrouill/42ctf /bin/ash"' >> ~/.zshrc && source ~/.zshrc +``` Then you just have to run `42ctf` in the folder where your binaries are! \ No newline at end of file