Skip to main content

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

Version Platform License


🎯 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)

  1. Download ShadowKill.exe from the Releases page
  2. Place it in any folder on your computer
  3. 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

  1. Launch ShadowKill.exe (or run python shadow_kill.py)
  2. Grant microphone access when prompted
  3. Double-knock your desk quickly (within 1 second between knocks)
  4. 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 THRESHOLD to 0.7 or higher

If it's not sensitive enough:

  • Decrease THRESHOLD to 0.3 or 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:

  1. Add ShadowKill.exe to your antivirus exclusions
  2. Run from source code instead
  3. 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

  1. Settings → Privacy → Microphone
  2. 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:

  1. Fork the repository
  2. Create a feature branch
  3. 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?


Made with 💻 by Rushan Ul Haque

Stay professional. Stay ready. Stay in control. 🕶️

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shadowkill_ruh-1.0.0.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shadowkill_ruh-1.0.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

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

Hashes for shadowkill_ruh-1.0.0.tar.gz
Algorithm Hash digest
SHA256 835607ca0169e786f44bd98acebe845804b3de001ff4b41e147bea4d7f8aea81
MD5 bc835af387c9b0d0f8315ed44cbb3c21
BLAKE2b-256 f7cd30d188b017cdb8ada198522111af914c44b17de5e7cf8e91acd5d13f7f86

See more details on using hashes here.

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

Hashes for shadowkill_ruh-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42482da1e54e14222e2b3209c650b4a2f8bdd91217fbe6c57d470c73008e2d4c
MD5 62a39b766785d89732863b079259e820
BLAKE2b-256 b63890127a0cbfcdaffac96a9a5db4f5ef2edb663ef68af9376f3cb023638c4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page