Authentication 自定义站点上的phpBB密码验证

Authentication 自定义站点上的phpBB密码验证,authentication,passwords,phpbb,Authentication,Passwords,Phpbb,在过去的几个小时里,我一直在寻找如何在自定义站点上使用phpBB登录脚本。我想我只是没有在寻找正确的东西 不久前,我创建了一个phpBB网站,有超过900名成员通过phpBB注册。我目前正在整容这个网站,重新做用户注册以及所有其他自定义代码 我的问题是,我希望用户能够像往常一样登录,尽管我想把他们输入到我的新数据库中,这样一切都可以顺利运行。我主要需要他们的用户名、密码和旧ID#,但我不知道如何使用phpBB的密码验证或在哪里找到它 声明需要如下所示: On Login, grab userna

在过去的几个小时里,我一直在寻找如何在自定义站点上使用phpBB登录脚本。我想我只是没有在寻找正确的东西

不久前,我创建了一个phpBB网站,有超过900名成员通过phpBB注册。我目前正在整容这个网站,重新做用户注册以及所有其他自定义代码

我的问题是,我希望用户能够像往常一样登录,尽管我想把他们输入到我的新数据库中,这样一切都可以顺利运行。我主要需要他们的用户名、密码和旧ID#,但我不知道如何使用phpBB的密码验证或在哪里找到它

声明需要如下所示:

On Login, grab username and password variables:
    if the username is not in MY database, check phpBB database.  
        If the username is in phpBB database, check to see if the password is correct **(This is the part I don't know how to do)**
            If the password is correct, input the username, user ID and the password (encrypted my way) into MY database
                Login
            If the password is incorrect - error
        if the username is NOT in phpBB database - continue
    if the username is not in MY database - input username and encrypted pass into my DB
        login
在哪里可以找到用于验证phpBB用户密码的脚本?我不在乎脚本是如何完成的,我知道这是一个秘密,我只需要能够验证密码,这样我就可以确保它是同一个用户


我确实可以访问phpBB数据库,我只需要一种方法来验证他们的密码

我宁愿删除该问题,但答案如下:

请点击此处:

下载PasswordHash.php时,将所有$p$更改为$H$。它会起作用的。奇怪的是,它是如何创建密码的,每次创建密码都不一样。但是它的检查部分确保它正确地检查它,不管它创建了什么散列传递