juice-shop-ctf-cli
Advanced tools
Comparing version 4.1.0 to 4.2.0
{ | ||
"name": "juice-shop-ctf-cli", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Capture-the-Flag (CTF) environment setup tools for OWASP Juice Shop", | ||
@@ -47,3 +47,3 @@ "author": "Bjoern Kimminich <bjoern.kimminich@owasp.org> (https://www.owasp.org/index.php/User:Bjoern_Kimminich)", | ||
"engines": { | ||
"node": ">=8 <=9" | ||
"node": ">=8 <=10" | ||
}, | ||
@@ -57,7 +57,7 @@ "dependencies": { | ||
"jssha": "~2.3", | ||
"js-yaml": "3.11.0", | ||
"js-yaml": "~3.11", | ||
"node-zip": "~1.1", | ||
"path": "~0.12", | ||
"request": "~2.85", | ||
"joi": "13.1.2", | ||
"joi": "~13.1", | ||
"request-promise": "~4.2" | ||
@@ -77,3 +77,3 @@ }, | ||
"nyc": "~11", | ||
"rewire": "~3", | ||
"rewire": "~4.0.0", | ||
"standard": "~11.0", | ||
@@ -80,0 +80,0 @@ "stryker": "~0", |
@@ -14,9 +14,8 @@ #  OWASP Juice Shop CTF [](https://www.owasp.org/index.php/OWASP_Project_Inventory#tab=Labs_Projects) [](https://github.com/bkimminich/juice-shop-ctf/releases/latest) [](https://twitter.com/owasp_juiceshop) | ||
[Capture the Flag](https://en.wikipedia.org/wiki/Capture_the_flag#Computer_security) | ||
event against | ||
[OWASP Juice Shop](http://owasp-juice.shop). | ||
event against [OWASP Juice Shop](http://owasp-juice.shop). | ||
 | ||
> :information_source: The data format generated by `v4.x` of this utility | ||
> has been tested for schema-compatibility with | ||
> :information_source: The data format generated by `v4.x` of this | ||
> utility has been tested for schema-compatibility with | ||
> [CTFd `≥v1.1.0`](https://github.com/CTFd/CTFd/releases/tag/1.1.0). | ||
@@ -44,3 +43,4 @@ | ||
Instead of answering questions in the CLI you can also provide your desired configuration in a file with the following format: | ||
Instead of answering questions in the CLI you can also provide your | ||
desired configuration in a file with the following format: | ||
@@ -55,2 +55,3 @@ ```yaml | ||
You can then run the generator with: | ||
``` | ||
@@ -61,2 +62,3 @@ juice-shop-ctf --config myconfig.yml | ||
Optionally you can also choose the name of the output file: | ||
``` | ||
@@ -68,3 +70,6 @@ juice-shop-ctf --config myconfig.yml --output challenges.zip | ||
Share your current directory with the `/data` volume of your `bkimminich/juice-shop-ctf` Docker container and run the interactive mode with: | ||
Share your current directory with the `/data` volume of your | ||
`bkimminich/juice-shop-ctf` Docker container and run the interactive | ||
mode with: | ||
``` | ||
@@ -75,2 +80,3 @@ docker run -ti --rm -v $(pwd):/data bkimminich/juice-shop-ctf | ||
Alternatively you can provide a configuration file via: | ||
``` | ||
@@ -81,2 +87,3 @@ docker run -ti --rm -v $(pwd):/data bkimminich/juice-shop-ctf --config myconfig.yml | ||
Choosing the name of the output file is also possible: | ||
``` | ||
@@ -155,6 +162,7 @@ docker run -ti --rm -v $(pwd):/data bkimminich/juice-shop-ctf --config myconfig.yml --output challenges.zip | ||
Based on [GitHub](https://github.com/bkimminich/juice-shop-ctf) commits. | ||
Ordered by added lines of code as of Mon, 11 Dec 2017 on `master`. | ||
Based on [GitHub](https://github.com/bkimminich/juice-shop-ctf) commits | ||
on `master` as of Tue, 10 Apr 2018 | ||
- [Josh Grossman](https://github.com/tghosth) aka `tghosth` | ||
- [Josh Grossman](httpps://github.com/tghosth) aka `tghosth` | ||
- [Simon Basset](https://github.com/simbas) aka `simbas` | ||
@@ -161,0 +169,0 @@ ## Licensing [](LICENSE) |
@@ -36,4 +36,4 @@ const chai = require('chai') | ||
it('should accept defaults for all input questions', function () { | ||
this.timeout(20000) | ||
return expect(run(juiceShopCtfCli, [ENTER, ENTER, ENTER, ENTER], 2000)).to | ||
this.timeout(25000) | ||
return expect(run(juiceShopCtfCli, [ENTER, ENTER, ENTER, ENTER], 2500)).to | ||
.eventually.match(/ZIP-archive written to /i).and | ||
@@ -40,0 +40,0 @@ .eventually.match(/Insert a text hint along with each CTFd Challenge\? No text hints/i).and |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
780400
168
Updatedjoi@~13.1
Updatedjs-yaml@~3.11