News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF login query

Started by House, November 16, 2016, 12:57:54 AM

Previous topic - Next topic

House

Hello

I would like to know if is possible to check (I don't need login at all just a check), if an user and password match with the database information for such user.

I can't use the SSI.php on this case so the user will just input the user and password and I need know if match (true/false) with his user, nothing more.

As I see on the source the password hash is: sha1(strtolower($user_settings['member_name']) . un_htmlspecialchars($_POST['passwrd']));

This is translated as this?:
sha1(strtolower(user input) . un_htmlspecialchars(password input));

An then I need compare this sha1 with the "passwd" from the database or I'm wrong?

Any help/information is welcome, thank you.

PD: Damm this captcha to post is so hard :)

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

House


Advertisement: