Any way to decode passwords

Discussion in 'Apache' started by bokehman, Jul 23, 2006.

  1. #1
    Is there any way to decode the passwords in .htaccess so they can be mailed to people that have lost them? What is the encryption method? It's not MD5 because there are only 13 characters.
     
    bokehman, Jul 23, 2006 IP
  2. DrMalloc

    DrMalloc Peon

    Messages:
    130
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Could be SHA1. And no, there shouldn't be any way to do it. If users forget a password the best approach would be to allow them to reset it.
     
    DrMalloc, Jul 23, 2006 IP
  3. sreyas

    sreyas Well-Known Member

    Messages:
    128
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Default encryptiong is based on CRYPT algorithm. And if you want to force MD5 use the switch -m . But the thing its better to reset the password than retriving the password. And its simple to use php exec command for the same.
     
    sreyas, Jul 23, 2006 IP