Log in

View Full Version : How to regenerate SALT of all member VBB?


letipro
06-11-2016, 04:01 PM
Hello everybody,

I have a question but i can't find a answer.
I'm using VBB and my database has been dumped by hacker.
I'm fixed all bug but i want to change all password and SALT of member.
With password, i'm using SQL querry to set it null And with SALT, i don't know method to regenerate all SALT of member.
After do this, i will notice to all member use lost password page to reset password of they.
Please help me to write a script php or SQL querry or any diferent method to regenerate all SALT of member.

Many thank to everybody.

Paul M
06-12-2016, 12:28 AM
Password changes reset the salt anyway, so all you need to do is force the password change.

letipro
06-12-2016, 01:24 AM
Thanks you for support me
I'm using VBB 3.8.4 one version old "Password changes reset the salt any way" it is work ???

--------------- Added 1465710203 at 1465710203 ---------------

i'm to force reset password for user but salt does not change

Paul M
06-12-2016, 11:39 AM
This is why, when asking for support, you must always say what version you are using.

That particular code was only introduced in 3.8.5.

I think before that it would still regenerate if the salt field is blank.

letipro
06-13-2016, 01:57 AM
Wow thanks bro.
it worked correctly.
I'm using SQL query to empty all password and SALT.
After do it, member choose forget password via page forget.
password, SALT has been auto regenerate.
One again thank you so much.