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
aajjager
Registered User
Posts: 1
Joined: Tue Aug 29, 2017 6:20 pm

phpbb authenticating C# form

Post by aajjager »

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 :-)
User avatar
Toxyy
Registered User
Posts: 966
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek

Re: phpbb authenticating C# form

Post by Toxyy »

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!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension

Return to “phpBB Custom Coding”