Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Regarding block  (Read 4799 times)

0 Members and 1 Guest are viewing this topic.

Ex0r

  • Guest
Regarding block
« on: March 01, 2006, 02:20:32 AM »

I have it as plain text, it looks like, as per set in the config file line

MySQLSecure ""

yet when I view it in phpmyadmin, it comes up as tinyblob. Now, as alot have found out php doesn't read from them very good and after some further viewing it looks like the passwords are stored via binary, instead of plain text. Any way to simulate or modify this ?
Logged

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #1 on: March 01, 2006, 09:14:36 AM »

Do you have MD5 enabled in ./Config ?
Logged

Ex0r

  • Guest
(No subject)
« Reply #2 on: March 01, 2006, 03:40:42 PM »

No, I figured it out. Inside sql it shows up as a tinyblob, but I ran a php script to test if you could read it or not and it comes out fine. Also, does one md5 hash it the same as another md5? Meaning if I md5 hash it from php and anope md5's it, will it be the same hash?
Logged

Pieter Bootsma

  • Team
  • *
  • Offline Offline
  • Posts: 189
    • http://geniusdex.net/
(No subject)
« Reply #3 on: March 02, 2006, 10:12:26 AM »

Anope's MD5 hash is not really MD5, so it won't match php's MD5 hash.
Logged
Pages: [1]   Go Up