An open API service indexing awesome lists of open source software.

https://github.com/varppi/gopanic

Panic hotkeys for Windows
https://github.com/varppi/gopanic

Last synced: 2 months ago
JSON representation

Panic hotkeys for Windows

Awesome Lists containing this project

README

          

# GoPanic: Panic hotkeys for Windows
If you have sensitive stuff on your computer, you probably already have made advances to secure that sensitive data from prying eyes, but if your computer gets yanked from your lap while you're logged in, almost all other security mechanisms, like full disk encryption, become void. This is what GoPanic aims to solve. GoPanic allows you to set up a hotkey that, when pressed, executes your specified action, for example, shutting down the computer or securely deleting files.

# Installation
Requirements:
- Windows
- Golang compiler in PATH

How to install:
1. `git clone https://github.com/Varppi/GoPanic` (or download as zip)
2. run install.bat
3. follow instructions

# Usage
### 1. Configure what the panic hotkey does.
Open panic.json and tell GoPanic what should happen when you press the hotkey.

Example1:
```json
{
"commands": [
"erase somefile.txt",
"shutdown /s /t 10"
]
}
```

Example2:
```json
{
"presets": {
"sdelete": "C:/sensitivedir"
}
}
```

Presets:
- sdelete (arg: directory or file)
- kill (arg: process name)
- shutdown

### 2. Run gopanic.exe
### 3. Test if it works