ComputerCraft self-wiping computer
A strategy for creating a self-wiping ComputerCraft pocket computer using a lectern and modem to secure files against unauthorized access or tampering.
- Place a pocket computer on a lectern with a modem below it; the computer constantly checks for the modem's connection.
- If the modem disconnects (e.g., by breaking the lectern), the computer detects this and wipes all its files, even if parts are broken simultaneously.
- To prevent manual shutdown, detect `Ctrl+S` (shutdown) or `Ctrl+R` (reboot) key presses and trigger a file wipe if these are used.
- A potential bypass involves forcibly sending a shutdown packet via a mod, as shutdown is a client-side packet, not an event, which could turn off the computer without triggering the wipe.


