Update 'README.md'

This commit is contained in:
Starthur 2022-05-06 14:00:17 +02:00
parent e9f866f6fb
commit 535928ab70
1 changed files with 6 additions and 4 deletions

View File

@ -13,10 +13,12 @@ Here is a docker image to use to solve most of the CTF on the platform! If you a
``` ```
## Usage ## 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 : For more simplicity you can do :
```bash
`echo 'alias 42ctf="docker run --security-opt seccomp=unconfined --rm -v $PWD:/work -it atrouill/42ctf /bin/ash"' >> ~/.zshrc && source ~/.zshrc` 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! Then you just have to run `42ctf` in the folder where your binaries are!