Anope IRC Services
Anope Support => 2.0.x/1.9.x Support => Topic started by: Cory Melth on January 22, 2014, 04:37:16 AM
-
Hi !
I run anope services perfectly without major problems ..
I have put the "enc_none" for encryption, so basicly the system suposed to save the password in plain text in my Database table ..
For exemple:
I'm connected to my irc ...
Register new account with /nickserv register test test@me.com
and when i'm trying to retreive it, my DB show me " plain:dGVzdA== "
Any ideas ?
-
enc_none base64 the password in the db.
-
It is base64 encoded, just un-base64 it.
-
Can you quicly explain me how to un-base ?
thanks !
-
http://us2.php.net/manual/en/function.base64-decode.php
-
Okay, I know I can execute a PHP code sound like this
<?php
$str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
echo base64_decode($str);
?>
But, I have any way to modify the table as send to MySQL to be not on a base64 format ?
Thanks
-
Okay, finally I got it !
For the person can be interrested by this post,
I have create my own query in the "modules.exemple.conf", and I command to anope to check password in another table (in my own table user already exist)
and after fews tests, it run like a charm ! ^^
Geatly appreciate your help !
(by the way, I dont want to keep password as clear, It was only for a test step.. I'm not stupid)
Best regards;