Skip to content

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeleShell

Shell commands executor via Telegram Bot.

Demo Screencast

Demo Screencast

Building on Windows for Linux

$Env:GOOS = "linux"; $Env:GOARCH = "amd64"
& "C:\Program Files\Go\bin\go.exe" build -o build/teleshell.linux .

Running on Linux

export TELESHELL_API_TOKEN="TELEGRAM_BOT_API_TOKEN"
export TELESHELL_PASSWORD="PASSWORD_TO_ACCESS_BOT"
export TELESHELL_SHELL="/bin/bash"
./build/teleshell.linux

Installing on Linux with Systemd

# Copy binary to the right place
mkdir -p /opt/bin
cp ./build/teleshell.linux /opt/bin/teleshell
chmod 755 /opt/bin/teleshell

# Configure systemd service
cp ./systemd/teleshell.service /etc/systemd/system/
sed -i 's/TELESHELL_API_TOKEN_HERE/NEW_API_TOKEN/g' /etc/systemd/system/teleshell.service
sed -i 's/TELESHELL_PASSWORD_HERE/NEW_PASSWORD/g' /etc/systemd/system/teleshell.service

# Enable and start service
systemctl daemon-reload
systemctl enable teleshell
systemctl start teleshell

About

Shell commands executor via Telegram Bot

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages