Visualizzazione dei risultati da 1 a 6 su 6
  1. #1

    .htpasswd - Ho l'MD5, ma non funziona!

    Vorrei fare un .htpasswd con una lista di utenti ed usare le password che ho nel forum.

    Io non tengo le password in plain text, ma sotto forma di firma MD5.

    Perché se faccio qualcosa tipo
    codice:
    utente:{MD5}74290f436b9ac6ae4d47bff6c924e27d
    non funziona?

    Help, please!
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  2. #2
    Moderatore di Server Apache L'avatar di marketto
    Registrato dal
    Sep 2001
    Messaggi
    5,858
    "htpasswd encrypts passwords using either a version of MD5 modified for Apache, or the system's crypt() routine. Files managed by htpasswd may contain both types of passwords; some user records may have MD5-encrypted passwords while others in the same file may have passwords encrypted with crypt()."
    http://httpd.apache.org/docs/1.3/programs/htpasswd.html



    think simple think ringo

  3. #3
    Sinceramente non capisco: le possibilità sono

    1) usa l'md5 modificato da apache (non posso - io ho l'md5 .. "normale" che fa il php)

    2) usa crypt() .. inutile ancora: io ho le password in MD5 come detto sopra..... :master:

    vabbeh, ma allora perché non dire anche usa SHA1???
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  4. #4
    up
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  5. #5
    Moderatore di Server Apache L'avatar di marketto
    Registrato dal
    Sep 2001
    Messaggi
    5,858
    apache funziona così, devi adeguare le tue password, ovvero crearne di nuove.
    think simple think ringo

  6. #6
    Originariamente inviato da marketto
    apache funziona così, devi adeguare le tue password, ovvero crearne di nuove.
    Capisco, come temevo..

    Beh, ma allora veramente:
    Originariamente inviato da Gionnico
    [...] ma allora perché non dire anche usa SHA1??? [...]
    Voglio dire invece lo SHA1 è normale? Dovrò immagazzinare le password in quel modo allora...

    Invece crypt() se non sbaglio si può anche decrittare? Se si, come?
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.