Skip to content

A program that uses Telegram to interact with a remote machine executing any command. You don't need the ip address of the machine you want to connect to.

License

Notifications You must be signed in to change notification settings

adrihacar/remote-telegram-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote Telegram shell

This is a program that uses Telegram to interact with a remote machine executing any command. You don't need the ip address of the machine you want to connect to.

Prerequisites

Installation

Once you have the token and the id of the chat you want to use to interact with the bot

Clone the repository

git clone https://github.com/adrihacar/remote-telegram-shell.git

Copy the file configuration file to the path specified in the script

cd remote-telegram-shell
mkdir -p $HOME/.config/telegram-shell && cp ./telegram-shell-conf.json $HOME/.config/telegram-shell

Fill the configuration file with the TOKEN and the CHAT ID

{
"TOKEN":"",
"CHAT_ID":""
}

Install all the dependencies

pip3 install -r requirements.txt

Usage

You can run this script in background and redirect the standard output

./telegram_shell.py  >/dev/null &

Open your telegram conversation and enjoy :)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the GPL-3.0 License. See LICENSE for more information.

Contact

Adrián Hacar Sobrino - @adrihacar

About

A program that uses Telegram to interact with a remote machine executing any command. You don't need the ip address of the machine you want to connect to.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages