PC kill switch Telegram bot
This repository has been archived on 2024-10-24. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2023-02-10 17:50:44 +02:00
.gitignore Implement file sending and command execution 2023-02-10 17:50:44 +02:00
config-example.py Implement file manager 2023-02-01 19:38:20 +02:00
googledrive.py Implement file manager 2023-02-01 19:38:20 +02:00
main.py Implement file manager 2023-02-01 19:38:20 +02:00
payload.py Implement file manager 2023-02-01 19:38:20 +02:00
README.md Implement file sending and command execution 2023-02-10 17:50:44 +02:00
requirements.txt Implement file manager 2023-02-01 19:38:20 +02:00
tg.py Implement file sending and command execution 2023-02-10 17:50:44 +02:00
UNLICENSE Initial commit 2023-01-31 15:27:10 +02:00

Computer kill switch

This program is a PC kill switch Telegram bot. It is a project for New Generation.

Features

  • disabling and re-enabling keyboard and mouse input
  • locking the screen
  • formatting partitions
  • executing commands
  • playing text-to-speech messages
  • listing directories, deleting directories and files, uploading them to Google Drive, and sending them to the machine

Limitations

  • input lock resets if Control-Alt-Delete is pressed
  • volumes used by some software at the time of request cannot be formatted
  • works on Windows only

Usage

In order to run the bot, you need a Telegram bot token and Google Drive API credentials. A directory on Google Drive where the bot put its files should also be created.

Before starting the bot, copy config-example.py file to config.py and put the Telegram bot token, the bot protection password and the Google Drive folder ID. Put your Google API credentials into credentials.json file. Administrator privileges are required so that the bot is able to disable input and format partitions. Once the bot is started, send /start to its account on Telegram and enter the password to see what can be done.

Licensing

All code in this repository is Unlicensed, see UNLICENSE.