moshe-coh / terminal-bot Goto Github PK
View Code? Open in Web Editor NEWTerminal Bot which will Execute your Commands From telegram bot!
License: MIT License
Terminal Bot which will Execute your Commands From telegram bot!
License: MIT License
how to run sudo commands
also cannot dwnload packages
- 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
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
Reference: https://docs.python.org/3.8/library/asyncio-stream.html#asyncio.StreamReader
#coroutine readline()
'If EOF is received and \n was not found, the method returns partially read data.'
I think the partially data maybe take some issue or bug when run a cmd.
Telegram are limited the InlineKeyboardButton up to 64 characters.I think it maybe can't to pass to the callback function when the name of the folder or file is too long.
hi i tried giving the app id as integer directly to the App_id variable but im getting NO API KEY FOUND in a virtual machine
i think there is a bug in the case of vps as " os.environ.get("ID") " returns None type
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.