Xakep_SDK / Console locker

Locks console with specific password

Console locker

На русском/Russian page

Features:

  1. Locks console with a password
  2. Blocks every command(except stop) before unlocking
  3. Admin can change password with a simple command
  4. Password stored as SHA-256 hash
  5. Locales support
  6. Allowed commands in config

Commands:

  1. console-lock (clock, cl) - lock console
  2. console-lock setpw (pw,set) - set or change password
  3. console-lock <password> - unlock console

Instructions

  • You can change password using java property consoleLockPassword.
java -DconsoleLockPassword=<hash> -jar sponge.jar

Where <hash> - password SHA-256 hash.

  • Write console-lock <password> to unlock console.
  • You can change password after unlocking, console-lock setpw <password>.
  • To lock console, write console-lock.
  • If password wasn’t set by java property, console will not be locked, but you can set password using console-lock setpw <password> command.

Changelog:
1.1

  1. Startup lock fix

1.0

  1. Has locale support
  2. Allowed commands in config
  3. Password taken from java property or config

0.1

  1. Release

Category: Admin Tools

Published on Nov 20, 2017

97 views

4 total downloads

Pages

Members