Password From Old Site not working In SmF

Started by mattizzy, July 21, 2018, 07:26:04 AM

Previous topic - Next topic

mattizzy

I migrated to SMF with custom script because mine wasn't found. I encountered some bug which is yet to be solved but what's making me unhappy is I can't login.

E.g


username: Steven
passwd : *the hash*

please is it because the username's initial is on capital??
I am only an SMF Addict. I think I took overdose.

Aleksi "Lex" Kilpinen

This is really difficult to answer, because we don't know where you migrated from, and what that script you used actually did...
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

mattizzy

I migrated from a custom forum script.

What I used is Insert into smf_members (fields), select from custom_users(field). that's what I did, the password hash is the same with that of the custom users after import but still not work
I am only an SMF Addict. I think I took overdose.

Aleksi "Lex" Kilpinen

That is probably exactly why it doesn't work. You just copied it over, and I'm willing to bet your custom script and SMF handle passwords very differently.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

mattizzy

Quote from: Aleksi "Lex" Kilpinen on July 21, 2018, 07:33:34 AM
That is probably exactly why it doesn't work. You just copied it over, and I'm willing to bet your custom script and SMF handle passwords very differently.

So what can I do? is there any converter I can edit to that of my script?
I am only an SMF Addict. I think I took overdose.

Aleksi "Lex" Kilpinen

Not my area of expertise, someone else will know better, but I'd say a good start would be knowing how the passwords are created in your old software.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

mattizzy

I am only an SMF Addict. I think I took overdose.

mattizzy

I just check and found out they use sha1($password);

$password = strtolower($username) . $pass;

that's what they use before inserting data.

What can I do now I know how they made the password.

I am only an SMF Addict. I think I took overdose.

SychO

Quote from: mattizzy on July 21, 2018, 07:53:14 AM
I just check and found out they use sha1($password);

What can I do now I know how they made the password

how did you make yours
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

mattizzy

Quote from: SychO on July 21, 2018, 07:54:26 AM
Quote from: mattizzy on July 21, 2018, 07:53:14 AM
I just check and found out they use sha1($password);

What can I do now I know how they made the password

how did you make yours


$password = strtolower($username) . $pass;

the same way with SMF.
where $pass is what you get from the input
I am only an SMF Addict. I think I took overdose.

Advertisement: