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.
- Get a Telegram Bot and a Token
- Python 3
- pip3
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
You can run this script in background and redirect the standard output
./telegram_shell.py >/dev/null &
Open your telegram conversation and enjoy :)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL-3.0 License. See LICENSE
for more information.
Adrián Hacar Sobrino - @adrihacar