Control your PC/Container/VM via discord bot, for example you type >> neofetch
,
it will print neofetch of the system you are in!
So, basically ssh
with 0 security.
Best ran on a docker/container or a Virtual Mechine for security reasons.
This was supposedly ran on Manjaro QEMU, hence the name "Manjabot".
git clone https://github.com/RavioliMavioli/manjabot
cd manjabot
npm install
./run.sh
>> help
displays bot commands.
>> changepass {new sudo password}
change input of the sudo password.
>> send {some message}
tell the bot to send some discord message.
>> sendfile {file path}
send a file from the host to discord message.
>> upload_ss
upload a screenshot of the host desktop to discord message (only works with spectacle
installed).
>> {shell commands}
run any shell commands that is available on the host system.
Token is stored in src/assets/manjakey.json.gpg
with gpg encryption.
The decryption is done via terminal when you first run the bot.
Json Structure:
{
bot_token: "your token"
}
How to make your token file:
- Go to
src/assets/
- Make a json file called
manjakey.json
- Fill it with this (replace
"your token"
with your discrod bot token:
{
bot_token: "your token"
}
4. On the directory you are in (src/assets/
), run:
gpg -c manjakey.json
5. Fill the password on your liking, then delete manjakey.json
.