Skip to content

Instantly share code, notes, and snippets.

@tvdsluijs
Created January 12, 2014 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tvdsluijs/8384996 to your computer and use it in GitHub Desktop.
Save tvdsluijs/8384996 to your computer and use it in GitHub Desktop.
UPDATE jos_users SET `password` = CONCAT('%', CONCAT_WS(':', SHA2(CONCAT( UNIX_TIMESTAMP(`registerDate`) ,`password`),512),UNIX_TIMESTAMP(`registerDate`) ));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment