NadozirnySvyatoslav / telegram-remote-shell

Provide remote access via telegram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

telegram-remote-shell

Provide remote access via telegram

Getting Started

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.

Prerequisites

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

Using Telegram remote shell

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

Screenshot2

Screenshot

Screenshot3

Authors

License

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

About

Provide remote access via telegram


Languages

Language:HTML 79.1%Language:TeX 20.4%Language:Python 0.5%Language:Batchfile 0.0%