Computer control through a bot

Mutt

Professional
Messages
1,056
Reaction score
643
Points
113
This material is provided for educational purposes only and was created as part of the study of information security. The author did not publish material for malicious purposes. If someone uses the information for personal gain, then the author is not responsible for any harm or damage caused.

PCToolsBot
This script is written in Python, you need to compile it, because inside the script, you specify the bot's telegram API and your Telegram ID.
Telegram ID is required so that only you can control your computer. If another person writes to your bot, the bot will notify you about it

Bot link-> https://github.com/kiraGGG/PCToolsBot


Bot functions​

  • ?Sdelat screenshot - make a screenshot of the screen with the mouse
    ?Upravlenie mouse - moves the mouse control menu
    ?Fayly and processes - goes into the menu with the management of files and processes
    ❇️Dopolnitelno - enters the menu add. functions
    ?Send notification - will send a window with a message (msgbox) to the
    PC ⏪Back⏪ - returns to the main menu
  • ?Follow the link - follows the specified link (it is important to specify "http: //" or "https: //" to open the link in a standard browser, not IE)
    ✅Run command - executes any specified command in cmd
    ⛔️Turn off the computer - instantly turns off the computer
    ♻️ Restart computer - instantly reboots the computer
    ? About computer - shows the username, ip, operating system and processor
  • ❌Download process - terminates any process
    ✔️Run - opens any files (including exe)
    ⬇️Download file - downloads the specified file from your computer
    ⬆️Download file - downloads a file to your computer
    ?Download from a link - downloads a file to your computer by direct link

Step-by-step instruction
1) Go to telegram and write @BotFather (t.me/BotFather)

2) Write the command / newbot to @BotFather

3) Write any bot name (example: PC Tools)

4) Write the bot login with the ending with the word bot, I advise you to write random symbols (example: nr9dsn6lsh_bot)

5) You will receive an example message:
"Use this token to access the HTTP API: 1234567: ASDFGHJKLQWERTY Keep your token secure and store it safely, it can be used by anyone to control your bot. For a description of the Bot API, see this page: https://core.telegram.org/bots/api"

6)
We need to copy the API (1234567: ASDFGHJKLQWERTY)

7)Go to the created bot in the telegram using the link from the message and click start

8) Download the bot script (PCToolsBot.py) and the file (install.txt) from the repository

9) Go to off. site https://www.python.org/downloads/ and download the python installer

10) Open the installer and install it by checking the add python to path item

11) Run cmd ( Win + R and enter cmd )

12) Write to cmd ( example: pip install -r C: \ download \ install.txt) 13) Open with any text editor PCToolsBot.py 14)pip install -r путь до файла install.txt

We enter the bot_token API of the bot that we copied into the bot_token field

15) Enter your TELEGRAM ID into the my_id field (You can know the bot @userinfobot (t.me/userinfobot))

16) Save the file and go back to the console

17) write cd the path of the directory where there is the PCToolsBot.py file (cd C: \ download)

18) We write in the console pyinstaller -w -F PCToolsBot.py

19) Move the exe-shnik from the dist folder to a convenient folder for us, create a shortcut for the exe-shnik

20) Throw the shortcut to the startup folder C: \ Users \ User_name \ AppData \ Roaming \ Microsoft \ Windows \ Start Menu \ Programs \ Startup
 
Top