Jump to content

Recommended Posts

  • 2 weeks later...
  • Moderators
Posted
20 minutes ago, GodsOtherHand said:

https://en.wikipedia.org/wiki/MD5

 

https://en.wikipedia.org/wiki/Hash_function

 

Motive pentru care nu poti "decripta".. md5 nu cripteaza. Mai mult decat linkurile alea jur ca nam ce sa iti dau.. daca nu vrei sa intelegi, nu vrei sa intelegi.

This.

Ar fi jale daca ar merge invers treaba.

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

  • Moderators
Posted
7 hours ago, GodsOtherHand said:

+ daca inca se foloseste md5 pentru salvarea parolelor.. jale

Depinde, sometimes da, sometines nu. Asta e metoda noua la IPB 4:

	/**
	 * Encrypt a plaintext password
	 *
	 * @param	string	$password	Password to encrypt
	 * @return	string	Encrypted password
	 * @todo	[Future] When we increase minimum PHP version, adjust blowfish to $2y$
	 */
	public function encryptedPassword( $password )
	{
		/* New password style introduced in IPS4 using Blowfish */
		if ( mb_strlen( $this->members_pass_salt ) === 22 )
		{
			return crypt( $password, '$2a$13$' . $this->members_pass_salt );
		}
		/* Old encryption style using md5 */
		else
		{
			return md5( md5( $this->members_pass_salt ) . md5( \IPS\Request::legacyEscape( $password ) ) );
		}
	}

PHP Developer - Not available for freelancing right now

Daca ai de gand sa postezi la categoria IPB, nu uita sa citesti regulamentul: Link regulament

Posted

wtf, astia chiar folosesc 'encrypted' pentru denumirea functiei :)) hahaha.

Din cate vad asa rapid, md5 e folosit pentru legacy aici. In mod normal ar folosi Blowfish, nu md5. Daca inca ai parola cu md5, la primu login ar trebui(in alta functie undeva) sa tio modifice sa se salveze cu blowfish.

love is a verb
Love is a doing word

  • gaby changed the title to Cum aflu parolele membrilor in IPB?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.