phpbb authenticating C# form

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
aajjager
Registered User
Posts: 1
Joined: Tue Aug 29, 2017 6:20 pm

phpbb authenticating C# form

Post by aajjager » Tue Aug 29, 2017 6:36 pm

Hi there,

First of all i'm not sure if i'm writing in the correct Subforum but here we go.

I have a Windows form application in C#.
I have made a test mysql DB with some test columes (Username, Password).
I have tested my C# application on validating the Username, Password from the test DB (With suceess).


Now here come the issue i have, when i want to try with the phpbb_user table i can then see the Username in plain text, but the password seems to be Hashed, so its 60 character longs.
So i enter the Username and password in my form (Invalid Logon)
However if i Use the 60 character long hash, it will then logon as this is the text the C# can see in the table.
So i want the user to use theire Username / Password, and not this 60 char hashed file :P


Does anyone know what i'm talking about, and maybe are willing to point me in the correct dirrection.
then i would be sooo happy :-)

Toxyy
Registered User
Posts: 320
Joined: Mon Oct 24, 2016 3:22 pm

Re: phpbb authenticating C# form

Post by Toxyy » Tue Sep 19, 2017 3:46 pm

Looks like you need the hashing algorithm to make hashes from passwords to check the db with?

Check here, this may help you find the algorithm:

viewtopic.php?f=461&t=2288631

Look up phpass c# on Google.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: No registered users and 3 guests