Provide remote access via telegram
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You must have python and several libs
import os
import pyautogui
import subprocess
import telebot
import requests
Register your own telegram bot from Bot father and get your TOKEN and BOTNAME for next
Make file config.py and put your token to file
token="110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw"
Save file and run bot with command
python telegram-remote-shell.py
Or make executable and run
python -m pip install pyinstaller
...
pyinstaller --onefile telegram-remote-shell.py
....
dist\telegram-remote-shell.exe
Connect to your remote telegram shell via search @BOTNAME
Remote bot commands:
/help - get help
/charset [charset] - set/get charset
/cd [folder] - change folder
/screenshot - make and send screenshot of screen
/cmd [command] - run shell command
/get [filename] - download file <50Mb
any other message will be recognized as a command and you can upload files via attach files to the message
- Svyatoslav Nadozirny - Initial work - Telegram Remote Shell
This project is licensed under the MIT License - see the LICENSE.md file for details