Skip to content

RavioliMavioli/manjabot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manjabot

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".

Installation:

git clone https://github.com/RavioliMavioli/manjabot
cd manjabot
npm install
./run.sh

Commands:

>> 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:

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:

  1. Go to src/assets/

  2. Make a json file called manjakey.json

  3. 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.