Generate a htpasswd password without installing Apache

A oneliner with Perl does the trick:

The output you get should be placed in a file called htpasswd. The syntax is like so:

Leave a Reply

Your email address will not be published. Required fields are marked *