htdigest

How do you htdigest 400 user accounts?

别等时光非礼了梦想. 提交于 2019-12-12 08:27:30
问题 How do you generate user accounts for 400 users to do a load testing? Htdigest forces you to type in a password each time, I have tried dos pipes like echo password > htdigest -c realm username%1 htdigest -c realm username%1 < password.txt but it is not working... 回答1: You can also check out the python script that trac distributes on their website for htdigest passwords, you can then automate it: Generating htdigest passwords without Apache They also suggest something along these lines will

How do you htdigest 400 user accounts?

醉酒当歌 提交于 2019-12-04 02:50:00
How do you generate user accounts for 400 users to do a load testing? Htdigest forces you to type in a password each time, I have tried dos pipes like echo password > htdigest -c realm username%1 htdigest -c realm username%1 < password.txt but it is not working... You can also check out the python script that trac distributes on their website for htdigest passwords, you can then automate it: Generating htdigest passwords without Apache They also suggest something along these lines will work: It is possible to use md5sum utility to generate digest-password file using such method: $ printf "$

htdigest file format

末鹿安然 提交于 2019-11-29 07:48:59
I'm trying to write some code to work with an htdigest password file. The documentation I can find seems to claim that the format of that file is: user:realm:MD5(user:realm:pass) If that is the case, then why doesn't this work for me? I created a file with the command line htdigest thus: htdigest -c test b a When prompted for a password I entered 'c'. This creates a file with the contents: a:b:02cc8f08398a4f3113b554e8105ebe4c However if I try to derive this hash I can't, echo a:b:c | md5 gives me "49d6ea7ca1facf323ca1928995420354". Is there something obvious that I'm missing here? Thanks echo

htdigest file format

老子叫甜甜 提交于 2019-11-28 01:37:51
问题 I'm trying to write some code to work with an htdigest password file. The documentation I can find seems to claim that the format of that file is: user:realm:MD5(user:realm:pass) If that is the case, then why doesn't this work for me? I created a file with the command line htdigest thus: htdigest -c test b a When prompted for a password I entered 'c'. This creates a file with the contents: a:b:02cc8f08398a4f3113b554e8105ebe4c However if I try to derive this hash I can't, echo a:b:c | md5