Jump to content
×
×
  • Create New...

MySQL Password Generator


Recommended Posts

  • Administrator

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 4
  • Good 4

If you want to contact the Metin2 Dev team, please open a ticket on the Discord server or
you can send a private message, don't forget to include the whole team as the recipient...

english_banner.gif

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

  • Administrator
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

If you want to contact the Metin2 Dev team, please open a ticket on the Discord server or
you can send a private message, don't forget to include the whole team as the recipient...

english_banner.gif

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...
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Metin2 Dev Github
  • Activity

    1. 1

      Metin2 Privat Server selfmade

    2. 1

      Costumes

    3. 1

      Costumes

    4. 0

      game.core (Thank you in advance for your help.)

    5. 1

      [Help] Problem with the system I added

    6. 7

      Serversource build win32

    7. 1

      Extended blend system

    8. 7

      Serversource build win32

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.