A question about generating base64 strings...
I've been messing around with smtp auth plain authentication. I've been using the following command to generate the auth plain base64 hash.
Code:
perl -MMIME::Base64 -e 'print encode_base64("\000username\@domain.com\000password")' Code:
echo -n "\000username\@domain.com\000password" | base64 |
Quote:
Quote:
|
Ah got it. I needed to just have the nulls in quotes. So this worked.
Code:
echo -ne "\000"username\@domain.com"\000"password | base64 Thanks ntubski for pointing me in the right direction. |
All times are GMT -5. The time now is 03:56 AM. |