
Software per identificare i diversi tipi di hash -
Identifica i diversi tipi di hash utilizzati per crittografare i dati e soprattutto le password.
Questo sostituisce hash-identifier <http://code.google.com/p/hash-identifier/>__, che è obsoleto!
hashID è uno strumento scritto in Python 3 che supporta l'identificazione di oltre 220 tipi unici di hash tramite espressioni regolari. Un elenco dettagliato degli hash supportati è disponibile qui <https://github.com/psypanda/hashID/blob/master/doc/HASHINFO.xlsx>__.
È in grado di identificare un singolo hash, analizzare un file o leggere più file in una directory e identificare gli hash al loro interno. hashID è anche in grado di includere nell'output la modalità corrispondente di hashcat <https://hashcat.net/oclhashcat/>__ e/o il formato corrispondente di JohnTheRipper <http://www.openwall.com/john/>__.
hashID funziona immediatamente con Python 2 ≥ 2.7.x o Python 3 ≥ 3.3 su qualsiasi piattaforma.
*Nota: quando si identifica un hash su sistemi operativi nix usare apici singoli per evitare l'interpolazione.
Puoi installare, aggiornare e disinstallare hashID con questi comandi:
.. code:: console
$ pip install hashid
$ pip install --upgrade hashid
$ pip uninstall hashid
Oppure puoi installare clonando il repository:
.. code:: console
$ sudo apt-get install python3 git
$ git clone https://github.com/psypanda/hashid.git
$ cd hashid
$ sudo install -g 0 -o 0 -m 0644 doc/man/hashid.7 /usr/share/man/man7/
$ sudo gzip /usr/share/man/man7/hashid.7
In alternativa puoi scaricare l'ultima versione qui <https://github.com/psypanda/hashID/releases>__.
.. code:: console
$ ./hashid.py [-h] [-e] [-m] [-j] [-o FILE] [--version] INPUT
+---------------------------+-------------------------------------------------------+ | Parametro | Descrizione | +===========================+=======================================================+ | INPUT | input da analizzare (predefinito: STDIN) | +---------------------------+-------------------------------------------------------+ | -e, --extended | elenca tutti gli algoritmi hash con password saltate | +---------------------------+-------------------------------------------------------+ | -m, --mode | mostra la relativa modalità hashcat in output | +---------------------------+-------------------------------------------------------+ | -j, --john | mostra il relativo formato JohnTheRipper in output | +---------------------------+-------------------------------------------------------+ | -o FILE, --outfile FILE | scrive l'output su file (predefinito: STDOUT) | +---------------------------+-------------------------------------------------------+ | --help | mostra il messaggio di aiuto ed esce | +---------------------------+-------------------------------------------------------+ | --version | mostra il numero di versione del programma ed esce | +---------------------------+-------------------------------------------------------+
.. code:: console
$ ./hashid.py '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
Analyzing '$P$8ohUJ.1sdFw09/bMaAQPTGDNi2BIUt1'
[+] Wordpress ≥ v2.6.2
[+] Joomla ≥ v2.5.18
[+] PHPass' Portable Hash
$ ./hashid.py -mj '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
Analyzing '$racf$*AAAAAAAA*3c44ee7f409c9a9b'
[+] RACF [Hashcat Mode: 8500][JtR Format: racf]
$ ./hashid.py hashes.txt
--File 'hashes.txt'--
Analyzing '*85ADE5DDF71E348162894C71D73324C043838751'
[+] MySQL5.x
[+] MySQL4.1
Analyzing '$2a$08$VPzNKPAY60FsAbnq.c.h5.XTCZtC1z.j3hnlDFGImN9FcpfR1QnLq'
[+] Blowfish(OpenBSD)
[+] Woltlab Burning Board 4.x
[+] bcrypt
--End of file 'hashes.txt'--