Persist the Kali setup in its base image
New 'kali snapshot' subcommand commits the working overlay into the base image, the same way the Windows guests are frozen. After it, reset returns to a Kali that already has: the wordlist under /opt/norbourg, bloodyAD, sshd enabled at boot, and the dual resolver (DC first, slirp second). Verified by booting from the committed base with no manual step: sshd answers, 1716-line wordlist present, bloodyad on PATH, lab and public names both resolving. Docs: README and instructor checklist describe the new step.
This commit is contained in:
@@ -91,7 +91,8 @@ Impacket, `evil-winrm`, `hashcat` et `bloodhound-python` ; `bloodyAD` s'ajoute a
|
||||
```bash
|
||||
./lab.sh kali install # télécharge ~4 Go, extrait, prépare une couche jetable
|
||||
./lab.sh kali up # démarre (VNC 127.0.0.1:5909, SSH 127.0.0.1:2222)
|
||||
./lab.sh kali reset # repart de l'image propre
|
||||
./lab.sh kali snapshot # fige l'état courant (outils, liste de mots, DNS) dans la base
|
||||
./lab.sh kali reset # repart de la base figée
|
||||
./lab.sh kali down
|
||||
```
|
||||
|
||||
@@ -100,7 +101,8 @@ Identifiants par défaut : `kali` / `kali`. La VM a deux cartes : le pont du lab
|
||||
passage vers le réseau du bureau.
|
||||
|
||||
Un petit ISO « outils » est monté dans la VM : il contient `norbourg.txt`, la liste de mots de
|
||||
l'atelier. À récupérer une fois au premier démarrage :
|
||||
l'atelier. À récupérer une fois au premier démarrage, puis à figer avec `./lab.sh kali snapshot`
|
||||
pour que `reset` la conserve :
|
||||
|
||||
```bash
|
||||
sudo mkdir -p /opt/norbourg/wordlists
|
||||
|
||||
Reference in New Issue
Block a user