rfswift system
Housekeeping for RF Swift: doctor, cleanup, update, upgrade, log and report.
rfswift system groups the housekeeping commands for RF Swift itself: checking your computer, cleaning up, updating, recording sessions and writing reports. Every subcommand also works at the top level (rfswift doctor, rfswift cleanup, …). The alias rfswift admin works too.
rfswift system doctorSynopsis
rfswift system doctor
rfswift system cleanup all|containers|images [--older-than 7d] [--dry-run] [--force] [...]
rfswift system update
rfswift system upgrade -c NAME [-i IMAGE] [-r DIRS]
rfswift system log start|stop|list|replay [...]
rfswift system report generate -c NAME [-f markdown|html|pdf] [-o FILE] [-t TITLE]Subcommands
| Subcommand | What it does | Page |
|---|---|---|
doctor |
Checks your computer: the engines and their services, Docker access, host udev rules, the Nix engine (and its WSL 2 backend on Windows), the Nix jail, the Lima VM, images, X11 and xhost, the audio system and server, USB, the config file, kernel modules, and usbipd on Windows | doctor |
cleanup |
Removes old or unused containers and images by age. A dry run shows what would go first | cleanup |
update |
Updates the RF Swift binary from the official releases. On a deb, rpm, pacman or Homebrew install, it tells you how to upgrade through your package manager instead of overwriting the packaged binary | update |
upgrade |
Re-creates a container from a newer image and keeps the directories you list (same as container upgrade) |
upgrade |
log |
Records and replays terminal sessions (asciinema, or script with --use-script) |
log |
report |
Builds an assessment report from a container and its workspace | report |
Examples
Check that your computer is ready:
rfswift system doctorPreview which stopped containers older than 30 days would be removed:
rfswift system cleanup containers --stopped --older-than 30d --dry-runReplay a recorded session at twice the speed:
rfswift system log replay -i session.cast -s 2.0Write an HTML report for a container:
rfswift system report generate -c pentest_wifi -f html