TeleShellBot
TeleShellBot copied to clipboard
A simple Telegram Bot to run shell commands remotely
/root/TeleShellBot/node_modules/telebot/lib/telebot.js:16 throw Error('[bot.error] invalid bot token'); ^ Error: [bot.error] invalid bot token at new TeleBot (/root/TeleShellBot/node_modules/telebot/lib/telebot.js:16:19) at Object. (/root/TeleShellBot/index.js:3:13) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad...
when I run command , my telegram bot reply: You are not admin! runshell_bot, [24.10.19 17:03] $:ls runshell_bot, [24.10.19 17:03] You are not admin!
比如在 bot 里输入 a ,相当于 `ls /root/` 当然这个可以在tg bot里设置,但我想一并在本项目里设置了,方便部署。