Audio-triggered panic system that instantly closes browsers and opens Excel
Project description
🕶️ ShadowKill
Audio-triggered panic system that instantly eradicates digital evidence and establishes workplace credibility
🎯 What is ShadowKill?
ShadowKill is a discreet desktop guardian that listens for a double-knock on your desk and instantly:
- ✅ Closes ALL browser tabs (Chrome, Edge, Firefox, Brave, Opera)
- ✅ Kills browser processes completely
- ✅ Opens a professional Excel spreadsheet (
Work_Report_2024.xlsx)
Perfect for maintaining professional appearances when unexpected visitors arrive! 😎
📥 Download & Installation
Option 1: Download Executable (Recommended)
- Download
ShadowKill.exefrom the Releases page - Place it in any folder on your computer
- Double-click to run - no installation required!
Option 2: Run from Source
# Clone the repository
git clone https://github.com/rushanhaque/Shadow-chat.git
cd ShadowKill
# Install dependencies
pip install -r requirements.txt
# Run the script
python shadow_kill.py
🚀 How to Use
- Launch ShadowKill.exe (or run
python shadow_kill.py) - Grant microphone access when prompted
- Double-knock your desk quickly (within 1 second between knocks)
- Watch the magic happen! 🎩✨
Controls
- Ctrl+C - Stop the application
- Double Knock - Trigger panic mode
Console Output
========================================
SHADOW KILL
========================================
Threshold: 0.5
Target file: Work_Report_2024.xlsx
Listening for a QUICK DOUBLE KNOCK on the desk...
----------------------------------------
Press Ctrl+C to stop.
⚙️ Configuration
Edit shadow_kill.py to customize behavior:
THRESHOLD = 0.5 # Volume threshold (increase if too sensitive)
COOLDOWN = 1.5 # Cooldown after activation (seconds)
KNOCK_WINDOW = 1.0 # Max time between two knocks (seconds)
BROWSERS = ["chrome.exe", "msedge.exe", "firefox.exe", "brave.exe", "opera.exe"]
OFFICE_FILE = "Work_Report_2024.xlsx" # File to open
Adjusting Sensitivity
If the app is too sensitive (triggering from background noise):
- Increase
THRESHOLDto0.7or higher
If it's not sensitive enough:
- Decrease
THRESHOLDto0.3or lower - Knock harder on your desk
🛡️ Privacy & Security
- 100% Local - No data leaves your computer
- No Internet Required - Works completely offline
- Open Source - Inspect the code yourself
- Microphone Only - Only listens for knock patterns
Antivirus False Positives
Some antivirus software may flag the .exe as suspicious (common with PyInstaller apps). This is a false positive because:
- The app monitors system processes
- It kills processes (browsers)
- It's packaged as a single executable
Solutions:
- Add
ShadowKill.exeto your antivirus exclusions - Run from source code instead
- Build the executable yourself using
pyinstaller ShadowKill.spec
📋 System Requirements
- OS: Windows 10/11 (64-bit)
- Microphone: Any working microphone
- RAM: 100MB minimum
- Storage: 25MB for executable
🔧 Troubleshooting
"Could not start audio stream"
Solution: Check microphone permissions in Windows Settings
- Settings → Privacy → Microphone
- Enable microphone access for desktop apps
Excel file doesn't open
Solution: Ensure Work_Report_2024.xlsx is in the same folder as the executable
Browsers don't close
Solution: Run as Administrator (right-click → Run as administrator)
App triggers too easily
Solution: Increase THRESHOLD in configuration
🏗️ Building from Source
Want to build your own executable?
# Install PyInstaller
pip install pyinstaller
# Build the executable
pyinstaller --clean ShadowKill.spec
# Find your .exe in the dist/ folder
📜 License
MIT License - Feel free to use, modify, and distribute!
🤝 Contributing
Contributions are welcome! Please:
- Fork the repository
- Create a feature branch
- Submit a pull request
⚠️ Disclaimer
This tool is intended for personal productivity and privacy management. The author is not responsible for any misuse. Always comply with your workplace policies and local laws.
📞 Support
Having issues?
- Check the Troubleshooting section
- Open an Issue
- Contact: [Your Email/Social Media]
Made with 💻 by Rushan Ul Haque
Stay professional. Stay ready. Stay in control. 🕶️
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shadowkill_ruh-1.0.0.tar.gz.
File metadata
- Download URL: shadowkill_ruh-1.0.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
835607ca0169e786f44bd98acebe845804b3de001ff4b41e147bea4d7f8aea81
|
|
| MD5 |
bc835af387c9b0d0f8315ed44cbb3c21
|
|
| BLAKE2b-256 |
f7cd30d188b017cdb8ada198522111af914c44b17de5e7cf8e91acd5d13f7f86
|
File details
Details for the file shadowkill_ruh-1.0.0-py3-none-any.whl.
File metadata
- Download URL: shadowkill_ruh-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42482da1e54e14222e2b3209c650b4a2f8bdd91217fbe6c57d470c73008e2d4c
|
|
| MD5 |
62a39b766785d89732863b079259e820
|
|
| BLAKE2b-256 |
b63890127a0cbfcdaffac96a9a5db4f5ef2edb663ef68af9376f3cb023638c4e
|