How to read this book
This book is written twice at once — once for readers who want to understand security and once for readers who want to practise it. You switch between the two with one button, and you can change your mind at any time.
The two reading tracks
Every chapter exists in two tracks, served from the same text:
- Core track (for everyone). A complete, continuous chapter. Nothing important is hidden: you can read the whole book in Core mode and finish with a solid understanding of how attacks work, how defenders detect them, and how investigators piece cases together.
- Technical track (for practitioners). The same chapter with every deep-dive expanded: commands, protocol internals, configuration, code walkthroughs. Technical depth is never removed from this book — it is layered, and you decide how much of it you want to see.
The Core / Technical switch
Use the Core | Technical buttons in the page header to switch modes. Your choice is remembered on this device and applied to every chapter. The default is Core.
In plain words: this box is what a technical deep-dive looks like. In Core mode you only see the summary; in Technical mode the full detail is shown. Try both settings now with the header switch.
Every technical block follows this contract: a badge, an always-visible "In plain words" summary, and a detail area that collapses in Core mode. In Core mode you can still open any single block with its own Show technical detail button — that does not change your global mode.
Labs at two tiers
Core lab (no lab environment needed)
The Core lab asks you to analyse and interpret: read a scan report, study a real case, or map an attack technique to the defences that stop it. Any reader can complete it with a browser and a notebook.
Technical lab (hands-on, in your own lab)
Switch to Technical mode for the hands-on lab.
The Technical lab is the hands-on tier: step-by-step work in the lab you build in Chapter 5, with expected output shown at each step so you can verify your progress. It appears automatically when you switch to Technical mode.
Quizzes and the pass mark
Every chapter ends with a 20-question multiple-choice quiz: 15 core questions and 5 technical-tagged questions. The mode decides what you are scored on:
- Core mode: you answer the 15 core questions.
- Technical mode: you answer all 20.
The pass mark is 60% in either mode. Your best result per mode is stored on this device; a chapter you have passed shows a ✓ in the table of contents. Every question comes with the correct answer and an explanation, and you can retake any quiz. Switching modes in the middle of a quiz resets it.
You can try a small sample quiz — five neutral questions about the book itself — on the components gallery page.
Other reading features
- Light and dark themes: the 🌓 button in the header switches; your choice is remembered.
- Printing: print (or save to PDF) any chapter and everything expands — all technical detail is included, navigation is dropped.
- Keyboard: everything is keyboard-navigable; Tab order follows the page, and the focus ring is always visible.
- Privacy: the book is fully local. Nothing you read or score is sent anywhere; progress is stored only in your browser, and the book keeps working even if storage is blocked.
One rule above all others: every hands-on exercise in this book targets only your own isolated lab or a legal practice platform — never a system you do not own or are not explicitly authorised to test. Read the Legal & ethical use page before starting any lab.