Installation Login Problem with Extplorer on OpenMediaVault

  • Have successfully installed the Extplorer plugin into Mediavault without problem. A new clickable service item appears in Mediavault to take you into Extplorer. On the Extplorer screen, request a login .... default is "admin" / "openmediavault" which simply does not work. I have tried other combinations of username and passwords without success. I have discovered a file that contains this login information "/var/www/openmediavault/js/omv/module/admin/service/extplorer/Extplorer.js . have tried changing it here without success. Any ideas would be appreciated ...


    nevans

    • Offizieller Beitrag

    Hey there, passwords are not stored in cleartext, at least not in any decent authentication system. passwords are usually obscured with hash functions


    http://en.wikipedia.org/wiki/Cryptographic_hash_function


    Anyway the extplorer stores users hashes in /usr/share/extplorer/config/.htusers.php


    Several algorithms for hashing and salting exist, though i have no idea what combination they use in extplorer, but a quick test gave me a positive result for using a basic md5 hash. So change the password hash in the file for admin to 81dc9bdb52d04dc20036dbd8313ed055 which is 1234, then once logged change the password so the pass gets stored in a strongest algorithm

  • Thanks ... much appreciated for the help, I do now have extplorer fully functional withing mediavault. For assistance to others, I have pasted the code for the .htusers.php file below


    <?php
    // ensure this file is being included by a parent file
    if( !defined( '_JEXEC' ) && !defined( '_VALID_MOS' ) ) die( 'Restricted access' );
    $GLOBALS["users"]=array(
    array("admin","81dc9bdb52d04dc20036dbd8313ed055","/","http://locahost",1,"",7,7),
    );
    ?>

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!