When doing a HTTP-Basic-Authentication, the username and the password are separated by a colon and then encoded with BASE64.


You get such a BASE64-string with one of the following methods:

  1. with Perl:

    perl -e 'use MIME::Base64; print MIME::Base64::encode_base64("benutzer:passwort", ""),"\n";'
  2. There is a tool for Windows (55kB):

    Call the program this way:

    base64 file

    where file contains user:password without linefeed!