Jump to content

MySQL Password Generator


Recommended Posts

  • Management

Hi everyone,

Meme Reaction GIF by Robert E Blackmon

Small internal tool to generate passwords for your Metin2 private server.
Click here...

PS: Of course, passwords are not saved

Sincerly,
ASIKOO

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 5
  • Confused 1
  • Good 4
  • Love 1
Link to comment
Share on other sites

  • 3 months later...
6 minutes ago, Ceettosa said:

Could you share the hash algorithm with us? is think its md5 or something? I would like to use it as register for my website

You can do it with mysql itself :

SELECT PASSWORD('yourpassword');

 

or directly on the insert query

INSERT INTO account(login,password,status) VALUES ('admin', PASSWORD('yourpassword'), 'OK')

 

Edited by PetePeter
  • Good 1
Link to comment
Share on other sites

  • Management
2 hours ago, PetePeter said:

You can do it with mysql itself :

SELECT PASSWORD('yourpassword');

 

or directly on the insert query

INSERT INTO account(login,password,status) VALUES ('admin', PASSWORD('yourpassword'), 'OK')

 

⚠️ PASSWORD() function deleted in MySQL 8 😕  (if you use it)

<?php

	$real_password = "test";
	$password = '*'.strtoupper(sha1(sha1($real_password, true)));
?>

 

  • Good 1
Link to comment
Share on other sites

33 minutes ago, ASIKOO said:

⚠️ PASSWORD() function deleted in MySQL 8 😕  (if you use it)

<?php

	$real_password = "test";
	$password = '*'.strtoupper(sha1(sha1($real_password, true)));
?>

 

True, thanks for the information. But it's work on MariaDB if anyone want to use it like that.

PS: You can do it like that with mysql 8 directly instead of using php (If it's needed for the game for exemple)

 

SELECT CONCAT('*', UPPER(SHA1(UNHEX(SHA1('yourpassword')))));

 

  • Good 1
Link to comment
Share on other sites

  • 3 months later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.