vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Remove md5 encryption (https://vborg.vbsupport.ru/showthread.php?t=296964)

cri 04-07-2013 05:32 PM

Remove md5 encryption
 
Hello,
I need to remove md5 password encryption from my forum.
What should I do?
Thanks.

kh99 04-07-2013 05:58 PM

I assume you mean from the passwords? You'd have to go in and find everywhere the function md5() is used to encrypt and to check passwords, and change the code. You'd also have to have everyone reset their password since there's no way to retrieve the password from the encrypted value.

If you just want to be able to do something with the plain text password when a user enters it to log in, then you just need to define DISABLE_PASSWORD_CLEARING in your config.php file.

squidsk 04-07-2013 06:46 PM

A better question might be why would you want to remove password hashing, even if it is with an outdated hash function.

cri 04-08-2013 11:29 AM

I want go in database and see plaintext password

--------------- Added [DATE]1365432988[/DATE] at [TIME]1365432988[/TIME] ---------------

It's not important where i see it but i need to see.
I thought that in register.php i can add a query to save it in a different table on my database but i don't know what should i write

squidsk 04-08-2013 01:57 PM

What possible purpose would that serve? On top of that if the user accounts already exist there's no way, short of hacking the password, to get the plaintext password back from the md5 hash.

I'm actually more than a little suspicious of someone wanting to gain access to plaintext passwords when any relevant information on your forums is easily visible without the need to destroy security on the forum.

cri 04-08-2013 02:18 PM

I don't want do decrypt my user's password but if it's possible save their plaintext password in db or in a file .html because i want that if they lost password i can send it the same

--------------- Added [DATE]1365435933[/DATE] at [TIME]1365435933[/TIME] ---------------

PROBLEM SOLVED. Anyway thank you


All times are GMT. The time now is 01:22 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.01056 seconds
  • Memory Usage 1,715KB
  • 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
  • (6)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