Results 1 to 4 of 4

Thread: password in mysql

  1. #1
    Join Date
    Sep 2007
    Posts
    110
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default password in mysql

    hey everyone. i have a site that people login to and post into my forum\

    the forum is now down. how can i transfer the users to my new forum.

    ive copied all the data in the database to the new forum but the passwords do not work. hwat do i need to do to figure out the pass?

    heres a sample password: 90d3c4db30dea3764f9f2a1f07ba1f3a520a5afe

    is there a way to figure out what that is? or what is that type of encryption called?

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    So this is the user login?

    Usually, PHP forums use the crypt() function to encrypt the information before sending it to MySQL. If that is a real password, however, it doesn't look like the product of the crypt function. Another point is that a good encryption never relies on the crypt function alone, so basically, the only way to know how it was done is to have access to the script that encrypted it.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    That hash looks like it may have been encrypted using sha1. As for decrypting, look through google or php.net.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  4. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    http://us.php.net/sha1 << a quicker version then searching, lol...
    Jeremy | jfein.net

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
  •