1.8.10 • Published 2 years ago

generator-hl-challenge v1.8.10

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Hacking-Lab Challenge Generator

This generator uses Yeoman to generate new Hacking-Lab Challenge Docker containers.

Installation NPM package

Please install the HL challenge generator with the commands below

sudo apt install nodejs npm
sudo npm install -g generator-hl-challenge yo

Create a CTF docker (not as user root)

Generate a temporary uuid using uuidgen. If you are going to create a docker for Hacking-Lab, the docker resource editor will return a uuid you must use. If you do not have access to the HL resource editor, ask for a uuid from them.

  1. mkdir my-awesome-challenge
  2. yo hl-challenge
  3. cd ./my-awesome-challenge
  4. docker-compose up --build
  5. testing

Delivery to Hacking-Lab

Hacking-Lab is expecting a dockerfiles.tar.gz. Thus, if you execute the prepare.sh, this will create the file needed by Hacking-Lab. This is the file you must upload into the HL resource editor. Ignore your local docker-compose.yml and configure the HL docker-compose.yml within the HL resource editor.

Video

Issues

Please leave feedback if you run into any problems.

Adding New Image Type

To add support for a new base image, you will have to:

  1. Add it to the base images in generator/app/index.js
  2. Add generators/app/templates/{image}.md with the customization instructions
  3. Add generators/app/templates/{image}/* with a tiny sample application (optional, don't add root/ to the path)
  4. OPTIONAL ADD `generators/app/templates/docker-compose.yml.{image}

DEV CORNER (deveoper of generator-hl-challenge package)

  • cd /opt/generator-hl-challenge
  • npm version patch (or minor or major)
  • npm login
  • npm publish
  • sudo npm link
1.8.10

2 years ago

1.8.9

2 years ago

1.8.8

2 years ago

1.8.7

2 years ago

1.8.6

2 years ago

1.8.5

2 years ago

1.8.4

2 years ago

1.8.3

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.8.0

2 years ago

1.7.10

2 years ago

1.7.11

2 years ago

1.7.12

2 years ago

1.7.9

2 years ago

1.7.8

2 years ago

1.7.7

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.6.9

2 years ago

1.6.8

2 years ago

1.6.4

2 years ago

1.6.3

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.6.0

2 years ago

1.5.30

2 years ago

1.5.32

2 years ago

1.5.31

2 years ago

1.5.34

2 years ago

1.5.33

2 years ago

1.5.36

2 years ago

1.5.35

2 years ago

1.5.38

2 years ago

1.5.37

2 years ago

1.5.39

2 years ago

1.5.41

2 years ago

1.5.40

2 years ago

1.6.7

2 years ago

1.6.6

2 years ago

1.6.5

2 years ago

1.5.27

2 years ago

1.5.26

2 years ago

1.5.29

2 years ago

1.5.28

2 years ago

1.5.25

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.5.9

3 years ago

1.5.8

3 years ago

1.5.7

3 years ago

1.3.9

3 years ago

1.5.6

3 years ago

1.3.8

3 years ago

1.5.5

3 years ago

1.3.7

3 years ago

1.5.4

3 years ago

1.3.6

3 years ago

1.5.3

3 years ago

1.3.5

3 years ago

1.5.2

3 years ago

1.3.4

3 years ago

1.5.1

3 years ago

1.3.3

3 years ago

1.5.10

3 years ago

1.5.12

3 years ago

1.5.11

3 years ago

1.5.14

3 years ago

1.5.13

3 years ago

1.5.16

3 years ago

1.5.15

3 years ago

1.5.18

3 years ago

1.5.17

3 years ago

1.5.19

3 years ago

1.5.21

3 years ago

1.5.20

3 years ago

1.4.9

3 years ago

1.5.23

3 years ago

1.4.11

3 years ago

1.4.8

3 years ago

1.5.22

3 years ago

1.4.10

3 years ago

1.4.7

3 years ago

1.4.13

3 years ago

1.5.24

3 years ago

1.4.12

3 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago