Tomiwa-Ot / telegram-c2

Control a system remotely via telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Telegram C2

Command and control a server via telegram bots.

Installation

  • Create a telegram bot

  • Edit main.py, set BOT_API_KEY to the bot's api key and telegram_user_id to your telegram id

  • Install the following dependencies

    pip install -r requirements.txt
  • Compile to standalone binary for easier deployment

    pip install -U pyinstaller
    pyinstaller main.py
  • Deploy to target

  • Start telegram bot

Usage

  /start                 - Start telegram bot
  /viewFile <path>       - Display the contents of a file
  /listDir <path>        - List the files in a directory
  /downloadFile <path>   - Download file from server to telegram
  /services              - List running services
  /screenshot            - Take screenshot of desktop
  /webcam                - Take image if webcam is supported
  /video <duration(sec)> - Record video from webcam

Screenshots






About

Control a system remotely via telegram

License:GNU General Public License v3.0


Languages

Language:Python 100.0%