开发者

Decryptor for bcrypt

The title is pretty self explana开发者_高级运维tory. I'm not sure if this exists, as it would greatly compromise the security of bcrypt, but i'm using Devise in a rails app and forgot my password. However I can access the server and find the info. I can see the encrypted password and need to decrypt it.

I do not want alternate solutions to the problem, i just want a decryptor so I can get the password.


Why don't you just spin up a Rails console and re-assign your password manually?

u = User.find_by_username('myname')
u.password = u.password_confirmation = 'reset_password'
u.save

Usually something along those lines will work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜