vBulletin Password Hash

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kevinmanphp
    Senior Member
    • Jul 2005
    • 389

    vBulletin Password Hash

    I would like to import the usernames and passwords over into another database application so that my existing vB members don't need to register the same username with this other app.

    How are the passwords stored in the database? Does it just use SHA() hashing? MD5?? Is there a salt used? Thanks!
  • Scott MacVicar
    Former vBulletin Developer
    • Dec 2000
    • 13286

    #2
    UPDATE user SET password = MD5(CONCAT(MD5(other_password), salt)) WHERE password = ''

    Thats a query which will do it, presuming your password field is blank and there is a field called other_password that stores the plain text password. salt also needs to contain 3 random characters.
    Scott MacVicar

    My Blog | Twitter

    Comment

    • Colin F
      Senior Member
      • May 2004
      • 17689

      #3
      Actually, I think salt has to contain the same value as the salt field in vBulletin.
      Best Regards
      Colin Frei

      Please don't contact me per PM.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...