Skip to content

shreekantha3/Telegrambot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot for System Management

This Python script implements a Telegram bot that allows you to perform various system management tasks remotely via Telegram commands. You can capture screenshots, retrieve system information, navigate directories, manage files, encrypt folders, control your webcam, convert text to speech, and more.

Telegram Bot

Table of Contents

Features

  • Capture screenshots and send them as photos.
  • Retrieve system information (platform, OS, CPU, etc.).
  • Navigate directories, list directory contents, and upload files.
  • Encrypt and decrypt folders/files securely.
  • Lock your Windows session.
  • Initiate a system shutdown.
  • Capture images from your webcam.
  • Convert text to speech.
  • Retrieve clipboard contents.
  • Execute shell commands remotely.

Telegram Bot in Action

Getting Started

Prerequisites

Before running the script, you'll need:

  • Python 3.x installed on your system.
  • Necessary Python libraries installed (specified in the script).
  • A Telegram bot token. You can create a bot and get a token from the BotFather on Telegram.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/yourusername/your-repo.git
    
    

Install the required Python libraries using pip:

shell Copy code pip install -r requirements.txt Replace 'YOUR-TOKEN' in the script with your actual Telegram bot token.

Run the script:

shell Copy code python your_script.py

Usage Start a chat with your Telegram bot. Use the specified commands to interact with the bot and perform various tasks. Commands /start: Get a list of available commands. /screen: Capture a screenshot and send it as a photo. /ip: Get your public IP address. /sys: Retrieve system information. /ls: List directory contents. /cd: Navigate directories. /upload [path]: Upload a file. /crypt [path]: Encrypt files/folders. /decrypt [path]: Decrypt files/folders. /lock: Lock your Windows session. /shutdown: Initiate a system shutdown. /webcam: Capture an image from your webcam. /speech [text]: Convert text to speech. /clipboard: Retrieve clipboard contents. /shell: Enter a remote shell interface to execute shell commands. Telegram Bot Commands

Security Note Please be cautious when using this script, as it can potentially expose sensitive actions and information. Ensure that the script is not accessible to unauthorized individuals. Additionally, manage your encryption/decryption passwords securely.

Contributing Contributions are welcome! Feel free to open issues or pull requests.

License This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages