Kernel Panic
NOTE: the virus spwaning and winning logic is buggy... It is not fully finished.
Goal:
You are the administrator of this server.Some hackers plant viruses.
You have to stop them to avoid a kernel panic!
Run it
This is implemented as an ssh-server which serves the app (and only the app).You may use the webssh:
https://kernel.aligator.dev/ssh/host/aligator.dev
username & password: 'admin'
or
ssh -p 2223 aligator.dev
username & password: 'admin'
Or using any other ssh client.
(Note any ssh key and any user/password will work - there is no check)
Locally
`go run ./cmd/local`will start a local version (installed Go is required)
Scrolling:
In some terminals the scroll wheel just works.In others, just use the "PageUp" and "PageDown" or "ctrl+u" and "ctrl+d"
Quit game:
"ctrl+c" or type "exit"Available commands:
• ls {Path} (list directory)• mkdir {Path} (create folder)
• cd {Path} (change directory)
• rm {Path} (delete file)
• ps (list processes)
• kill {PID} (kill process)



Comments7
thanks for trying :-)
it is done using a Golang lib which just serves a cli through ssh to the client: https://github.com/charmbracelet/wish
Together with a cli-ui building lib (from the same developers): https://github.com/charmbracelet/bubbletea