SitePoint Sponsor

User Tag List

Results 1 to 10 of 10

Thread: PHPBB Coding

  1. #1
    Spam Can Kill!!! Disk-t's Avatar
    Join Date
    Jul 2001
    Location
    n/a
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHPBB Coding

    phpBB encrypts its passwords when I try to view them using phpMyAdmin. Does anyone know how to decode them?

  2. #2
    SitePoint Wizard Aes's Avatar
    Join Date
    Jun 2001
    Location
    Oklahoma
    Posts
    3,392
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh, if you find out, can you tell me how it encrypts AND decrypts them? I'd be interested in learning how to encrypt and decrypt things with PHP and MySQL.
    Colin Anderson
    Ambition is a poor excuse for those without
    sense enough to be lazy.

  3. #3
    Making a better wheel silver trophy DR_LaRRY_PEpPeR's Avatar
    Join Date
    Jul 2001
    Location
    Missouri
    Posts
    3,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    they're md5()'d. you can't decrypt them. they're encrypted using PHP's md5() function. to verify them, they just re-encrypt the entered passowrd and see if it matches the one in the DB.
    - Matt ** Ignore old signature for now... **
    Dr.BB - Highly optimized to be 2-3x faster than the "Big 3."
    "Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR

  4. #4
    SitePoint Wizard Defender1's Avatar
    Join Date
    Apr 2001
    Location
    My Computer
    Posts
    2,808
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yea, and it says somewhere that you CANT retrieve the password.
    when someone loses theres a new one is just created and re-encrypted into the db.
    Defender's Designs
    I'm Getting Married!

    Not-so-patiently awaiting Harry Potter Book 7 *sigh*

  5. #5
    SitePoint Wizard TWTCommish's Avatar
    Join Date
    Aug 1999
    Location
    Pittsburgh, PA, USA
    Posts
    3,910
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Aes
    Oh, if you find out, can you tell me how it encrypts AND decrypts them? I'd be interested in learning how to encrypt and decrypt things with PHP and MySQL.
    This might be interesting to you: mcrypt().

  6. #6
    SitePoint Wizard silver trophy redemption's Avatar
    Join Date
    Sep 2001
    Location
    Singapore
    Posts
    5,269
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    disk-t, just wondering y u want to decrypt passwords for...

    other that that... i'd also want to know if this is possible...

  7. #7
    Probably eating pie mitsubishi's Avatar
    Join Date
    Sep 2001
    Location
    England, UK
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think it's impossible to decrypt md5, just not at all likely. It is a complex process so to undo it with iteration would take, well I don't know, but I heard that mod encryption would take every computer on earth 5 billion years to work out if the key was sufficiently long enough. Also the result of de-encypting md5 would leave an infinate range of answers, because every string put into it comes out as a 32(?I think) digit string.

  8. #8
    SitePoint Wizard
    Join Date
    Apr 2000
    Posts
    1,483
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pretty much impossible then

    Really, there is no feasible way to decrypt a password in phpBB - that's why they're encrypted

  9. #9
    Spam Can Kill!!! Disk-t's Avatar
    Join Date
    Jul 2001
    Location
    n/a
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  10. #10
    chown linux:users\ /world Hartmann's Avatar
    Join Date
    Aug 2000
    Location
    Houston, TX, USA
    Posts
    6,455
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    You can't really say that MD5 is encryption.... It always returns a 32bit string that can be recreated. MCrypt is one of the best PHP modules around. Use it if you can.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •