vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Plaintext passwords (https://vborg.vbsupport.ru/showthread.php?t=35800)

SpankMe 03-07-2002 12:22 AM

Plaintext passwords
 
I am currently running vBulletin 2.0.3 and am unable to upgrade because I need to use mod_auth_mysql. This module allows me to use the forum logins for access to my other sites, but it will not work with PHP MD5 encrypted passwords used by current versions of vBulletin.

With the latest release of vBulletin fixing a security hole (I hate the idea of having a security hole on my server) I really need to upgrade. So if anyone knows how to convert vBulletin 2.2.3b to use plaintext passwords, please let me know.

Or better yet, if there are any C programmer gurus out there, maybe you can modify the mod_auth_mysql source to add the ability for it to use PHP MD5 encryption.

Freddie Bingham 03-07-2002 01:38 AM

Mysql has a MD5() function. It generates the same string that the PHP MD5() function does for a given value.

I don't know how your scripts work but something like this would work:

SELECT userid FROM user WHERE username = '$username' AND password = MD5('$password')

SpankMe 03-07-2002 01:59 AM

So your saying to change mod_auth_mysql to use the MySQL MD5() function instead of the C crypt function? Don't know if my C knowledge is up to the task, but I'll look into it.

mod_auth_mysql has a MySQL encryption option, but I don't think this is the same as the MySQL MD5() function. I think I tried this option without success before, but I'll look into this again too.

Freddie Bingham 03-07-2002 02:14 AM

I don't know anything about mod_auth_mysql but I assumed it allowed you to specify mysql queries via apache. I searched on dejanews for MD5 and mod_auth_mysql and found several hits that might be of assistance to you.


All times are GMT. The time now is 07:58 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01062 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete