Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ejsch03/wlrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wlrs

Authenticated web-based whitelister for a minecraft server.

dotenv (.env)

# server
SERVER_ADDR = "<ADDR>:<PORT>"
SERVER_PASS = "<PASSWORD>"
RCON_PASS = "<PASSWORD>"

# client
WEBSOCKET_ADDR = "wss://<ADDR>/<PATH>"
  • This is the configuration for the local .env file.

Authentication

It's very basic. The provided SERVER_PASS is hashed with a randomly generated salt upon compilation. A user provides a text-based string as the password, which is then sent to the server via secure websocket. The password is then hashed with the existing salt and compared with the existing hash. If they match, the password is correct.


Todo

  • Implement rate-limiting by IP-address $\to$ prevent basic brute-force attempts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks