| View previous topic :: View next topic |
| Author |
Message |
uphid Guest
|
Posted: Wed Feb 01, 2006 11:53 pm Post subject: Password Hash? |
|
|
Does anyone happen to know what hash is used with Icecast's htpasswd file?
I'd like to write some scripts that generate this file from a database; but I'm unsure which hash to use.
Thanks for any help. |
|
| Back to top |
|
 |
MikeS Code Warrior

Joined: 29 Jun 2005 Posts: 73 Location: Barcelona, Spain
|
Posted: Sun Feb 05, 2006 1:56 am Post subject: |
|
|
| It's simply an md5. You can use one of the many md5 implementations out there to match this. |
|
| Back to top |
|
 |
uphid Guest
|
Posted: Wed Feb 08, 2006 12:26 am Post subject: |
|
|
| Thank you. You are a scholar and a gentleman. |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Sat Feb 24, 2007 10:16 am Post subject: |
|
|
| MikeS wrote: |
| It's simply an md5. You can use one of the many md5 implementations out there to match this. |
Hello Mike
I tried to use
#htpasswd -b -m myauth2 check check
It didn't worked, but the same password when created from web interface it works fine.
I compared both cases the password saved is different.
I am doing something wrong when I try to create password from command line. I used MD5 flag though.
Appreciate your reply.
Thanks,
SK |
|
| Back to top |
|
 |
MikeS Code Warrior

Joined: 29 Jun 2005 Posts: 73 Location: Barcelona, Spain
|
Posted: Mon Feb 26, 2007 9:32 am Post subject: |
|
|
It's entirely possible that htpasswd's hashing is not the same as icecast's - I certainly never used any command line tools to edit or create icecast htpasswd files.
Sorry about that.
Mike |
|
| Back to top |
|
 |
Anonymous Guest
|
Posted: Thu Oct 25, 2007 12:58 pm Post subject: |
|
|
I had the same problem as you and made a little hack.
Hail to the mdfivator !
The ugly hack totally based on icecast code
Give it a string as an argument and it will give you the icecast md5 hash of the string
You can download it here |
|
| Back to top |
|
 |
|