Giter Site home page Giter Site logo

moshe-coh / terminal-bot Goto Github PK

View Code? Open in Web Editor NEW
60.0 2.0 62.0 69 KB

Terminal Bot which will Execute your Commands From telegram bot!

License: MIT License

Python 99.47% Dockerfile 0.43% Procfile 0.10%
telegram telegram-bot terminal terminal-bot best ssh-bot ssh-telegram-bot telegram-bot-python

terminal-bot's Introduction

Terminal-Bot

With this bot you can execute system commands on your server.

how to config?


  • clone or fork this repo

  • give me a star 😎

  • edit the config.py file.

  • run pip3 install -r requirements.txt

  • and than run it on your sever!

how to deploy


Deploy

commnads for @BotFather:

start - πŸ“œ welcome message 
help - πŸ˜‰ like start message
ip - πŸ”’ my server ip
st - ♨️ speed test to my server 
stats - πŸ“Š server stats
my_files - πŸ“ files manager
cd - πŸ—ƒ change working dir

Readme Card

Todo

  • Add option to download files...
  • Add /my_files & /cd command
  • Add more commands...
  • add option to upload files

terminal-bot's People

Contributors

devsdocs avatar moshe-coh avatar ontheway00007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

terminal-bot's Issues

Non interactive shell

The terminal only work with non-interactive command.

to reproduce issue you can use the script here:

#!/bin/sh

# Script name: io1.sh

# This script prompts for input and prints messages
# involving the input received.

echo "Enter your name: \c" read name junk

echo "Hi $name, how old are you? \c"
read age junk

echo "\n\t$age is an awkward age, $name,"
echo "  You’re too old to depend on your parents,"
echo "and not old enough to depend on your children."

Please add an option to enable interactive terminal to run interactive shell commands

Prblm

how to run sudo commands
also cannot dwnload packages

Requesting Some visible features

please add there feartures

- live feed whenever the bot is running any command
- send currently running command stats when evers /status command is given
- make shell interactive
- stop currently running command when /kill command is given

Project asks for Client Credentials While only Bot Token should be required

this project asks in the config.py and in the video tutorial to input a client account credentials via the APP_ID and API_HASH , in reality this shouldnt be a requirement because the only thing needed should be the bot Token, this project uses Pyrogram as a telegram implementation, Client Side credentials arent needed to work with bots and its just a useless and possible risky information to give away. please address this issue and delete the need to input these 2 informations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.