New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

juice-shop-ctf-cli

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juice-shop-ctf-cli - npm Package Compare versions

Comparing version 4.1.0 to 4.2.0

10

package.json
{
"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 @@ # ![Juice Shop CTF Logo](https://raw.githubusercontent.com/bkimminich/juice-shop-ctf/master/images/JuiceShopCTF_Logo_100px.png) OWASP Juice Shop CTF [![OWASP Labs](https://img.shields.io/badge/owasp-lab%20project-f7b73c.svg)](https://www.owasp.org/index.php/OWASP_Project_Inventory#tab=Labs_Projects) [![GitHub release](https://img.shields.io/github/release/bkimminich/juice-shop-ctf.svg)](https://github.com/bkimminich/juice-shop-ctf/releases/latest) [![Twitter Follow](https://img.shields.io/twitter/follow/owasp_juiceshop.svg?style=social&label=Follow)](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).
![CLI in action](https://raw.githubusercontent.com/bkimminich/juice-shop-ctf/master/images/juice-shop-ctf-cli.animated.gif)
> :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](https://img.shields.io/github/license/bkimminich/juice-shop-ctf-server.svg)](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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc