Skip to content

jeyemwey/mumbleSniff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to get it working

  1. Clone the repo and get into the folder.

  2. Create a certificate for the mumble connection and save them to key.pem and cert.pem:

    openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem

  3. Edit the environment file:

    cp default.env .env vi .env

  4. Add the Telegram Bot Token to the environment. Ask @BotFather for an API token and paste it after the = char.

  5. Change the Server-URL and the Mumble Username to whatever you desire.

  6. Close the file.

  7. Run npm install to recieve the required packages.

Start the script

I ran best with loading index.js into an interactive shell:

~/mumbleSniff $ node
> .load ./index.js
``
After that, you can import prior Telegram message ids with `fs.readFileSync("loggedInUsers.log", "utf-8").split("\n").forEach((i)=>{botUsers.push(i)});`. Then, check the botUsers array for new contents. (This is an [issue](https://github.com/jeyemwey/mumbleSniff/issues/1), and _$soon_, the application should do this by itself.)

# Contribute

If you want to, you can surely contribute to this project. Just send a PR!

About

See, who is online with telegram messages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published