SudoOmbro / BashBot

A Telegram bot that lets you access your server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BashBot

a bot that lets you access and interact with your server from Telegram

DISCLAIMER

This in an early version, there may be some bugs.

Requires at least Python 3.6 to work

features

  • control the remote server on which the bot is located with the same commands you'd use on a shell
  • upload/download files to/from the machine with built in bot commands
  • whitelist
  • scripts
  • options screen to add/remove users to/from the whitelist
  • runtime script editor

Notes

  • When uploading a file through the bot, make sure to send it as file, even it it's an image.
  • when using the "cd" command, note that "cd ~" won't work, use just "cd" instead.
  • when adding a user to an empty whitelist, you'll be added as well.
  • for now the bot only supports polling updates, no webhooks.

How to setup

  • clone the repository
  • duplicate the config_template.json file and call it config.json
  • fill in all the required fields in config.json (the whitelist isn't required)

the whitelist, if not left empty, should be an array of Telegram User IDs

About

A Telegram bot that lets you access your server

License:MIT License


Languages

Language:Python 100.0%