Update 'README.md'
This commit is contained in:
parent
e9f866f6fb
commit
535928ab70
10
README.md
10
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!
|
Loading…
Reference in New Issue