Skip to content

About

CyberLab | Hands-on security lessons with quizzes and challenges.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CyberLab

Local, offline security notebook. No build step, no dependencies.

Run

Open index.html directly, or serve it:

python serve.py        # http://127.0.0.1:8000

Add a lesson

  1. Create content/11-yourtopic.js:
registerLesson({
  id: 'yourtopic', track: 'systems', order: 11, level: 'Advanced', minutes: 40,
  title: 'Title', summary: 'One line.',
  sections: [{ h: 'Heading', html: '<p>HTML here</p>' }],
  quiz: [{ q: '?', options: ['a','b'], answer: 1, why: '...' }],        // optional
  challenge: { title: '', brief: '<p>..</p>', hint: '', mount(el, solve) { W.flagBox(el, 'FLAG{x}', solve); } }, // optional
});
  1. Add <script src="content/11-yourtopic.js"></script> to index.html.

New track: registerTrack({id, title, blurb}) in content/tracks.js.

Widgets (assets/widgets.js): W.flagBox, W.terminal, W.esc, W.b64u. Progress is stored in localStorage (key cyberlab-progress-v1).

About

CyberLab | Hands-on security lessons with quizzes and challenges.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages