Skip to content

Just a simple telegram bot to run shell commands on a linux system using a telegram bot

Notifications You must be signed in to change notification settings

dracarys18/ShellBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ShellBot

A simple Telegram Bot written in C++ to run shell commands in a Linux system remotely from a Telegram Bot.

Deployment

  1. Install C++ Telegram Bot Library. The guide to install the library is here
  2. Go to @BotFather in telegram and create a Bot.
  3. Get the Bot API Key and add it in TG_API_KEY in include/definit.h header file.
  4. Add your user id in SUDO_USER in include/definit.h header file.
  5. And finally to run the Bot run following commands:-
cmake .
make -j $(nproc --all)
./tgbot

About

Just a simple telegram bot to run shell commands on a linux system using a telegram bot

Topics

Resources

Stars

Watchers

Forks