hashcat Forum
Create new module phpbb2_convert - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: Create new module phpbb2_convert (/thread-10600.html)



Create new module phpbb2_convert - pokosima1999 - 01-26-2022

Hello!
Please create new module phpbb2 convert to phpbb3:
Files:
https://github.com/phpbb/phpbb/tree/master/phpBB/install/convertors
phpBB/install/convertors/functions_phpbb20.php
phpBB/install/convertors/convert_phpbb20.php
Code:
PHP Code:
function phpbb_convert_password_hash($hash)
{
global 
$phpbb_container;

/* @var $manager \phpbb\passwords\manager */
$manager $phpbb_container->get('passwords.manager');
$hash $manager->hash($hash'$H$');

return 
'$CP$' $hash;


Example hash:
$CP$phpbb3hash

Signature:
$CP$$H$

Algorithm:
phpass(phpass)