fluffos-upgrading-from-older-crypt-to-v2019-crypt
2021/4/7 11:45:34

nomask int matches_password(string str) {  if (password[0..2] == "$6$")        return crypt(str, password) == password;    else    {    if (oldcrypt(str, password) == password || crypt(str, password) == password)      {          write("(Upgrading your password hash to SHA512)\n");          password = crypt(str);          return 1;      }    }    return 0; }

返回列表
返回首页
©2022 MUD游戏网_文字mud 电脑版
Powered by iwms