rainestorme / murkmod

A continuation of fakemurk and mush that includes a plugin manager and additional useful utilities.
MIT License
21 stars 17 forks source link

Only part of password needed to access Admin Mode in mush #91

Closed Eboi47 closed 1 week ago

Eboi47 commented 1 month ago

Describe the bug When setting a password in mush, nothing goes wrong. When you use this password, typing in any part of the set password will work. For example. if the password is 'abc123''; typing 'abc', '123', '1', or anything that contains a segment of the password will be verified as correct and enable admin mode. However, typing '123abc', '321', or anything that contains characters of the password in the wrong order will still not work.

To Reproduce Steps to reproduce the behavior:

  1. Go to the mush terminal
  2. Set a password
  3. Reload mush
  4. Press 5 and enter
  5. enter any part of the set password.
  6. Admin mode should be opened now.

Expected behavior The password should only be correct if the entire password is entered.

System (please complete the following information):

Additional context -I used Cryptosmite to unenroll if that matters.