
**HashEye** è un potente tool CLI Python per rilevare e analizzare istantaneamente i tipi di hash. Fornisce informazioni dettagliate sui formati di hash, i livelli di sicurezza, l'analisi dell'entropia e il rilevamento di pattern.
HashEye è un potente strumento Python CLI per rilevare e analizzare istantaneamente i tipi di hash. Fornisce informazioni dettagliate sui formati degli hash, livelli di sicurezza, analisi dell'entropia e rilevamento di pattern.
Realizzato da Isaac Security Labs
🔗 Link:
hasheye.py sul tuo sistemachmod +x hasheye.py
git clone https://github.com/ishaklaz/Hash-Eye.git
cd Hash-Eye
pip install -r requirements.txt
Analizza un singolo hash:
python3 hasheye.py 5d41402abc4b2a76b9719d911017c592
python3 hasheye.py [OPTIONS] [HASH...]
Opzioni:
-h, --help Mostra il messaggio di aiuto ed esce-j, --json Output dei risultati in formato JSON-f, --file Legge gli hash da un file (uno per riga)-s, --simple Mostra output semplificato senza analisi dettagliata-v, --version Mostra informazioni sulla versionepython3 hasheye.py 5d41402abc4b2a76b9719d911017c592
Output:
[+] HashEye Result
──────────────────────────────────────────────────
Hash : 5d41402abc4b2a76b9719d911017c592
Length : 32
Format : HEX
Type(s) : MD5 / NTLM (possible) / LM Hash (possible)
Entropy : 3.8750
Security Level : Weak
Recommendation : Consider upgrading to SHA-256 or SHA-512
──────────────────────────────────────────────────
Powered by Isaac Security Labs
python3 hasheye.py 5d41402abc4b2a76b9719d911017c592 --json
Output:
{
"hash": "5d41402abc4b2a76b9719d911017c592",
"length": 32,
"format": "hex",
"types": [
"MD5",
"NTLM (possible)",
"LM Hash (possible)"
],
"entropy": 3.875,
"security_level": "Weak",
"recommendation": "Consider upgrading to SHA-256 or SHA-512",
"pattern_analysis": {
"case_mixed": false,
"case_lower": true,
"case_upper": false,
"repeating_chars": [],
"has_sequential": false
}
}
python3 hasheye.py hash1 hash2 hash3
Crea un file hashes.txt:
5d41402abc4b2a76b9719d911017c592
aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
Quindi esegui:
python3 hasheye.py --file hashes.txt
python3 hasheye.py 5d41402abc4b2a76b9719d911017c592 --simple
python3 hasheye.py e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
| Lunghezza | Tipi di Hash |
|---|---|
| 24 | bcrypt (possible), scrypt (possible) |
| 44 | bcrypt, scrypt |
| 60 | Argon2 (possible) |
| 86 | bcrypt |
L'entropia misura la casualità di un hash:
Lo strumento rileva:
HashEye può essere integrato nei tuoi script utilizzando l'output JSON:
#!/bin/bash
result=$(python3 hasheye.py "$hash" --json)
hash_type=$(echo "$result" | python3 -c "import sys, json; print(json.load(sys.stdin)['types'][0])")
echo "Detected: $hash_type"
import subprocess
import json
def detect_hash(hash_string):
result = subprocess.run(
['python3', 'hasheye.py', hash_string, '--json'],
capture_output=True,
text=True
)
return json.loads(result.stdout)
info = detect_hash('5d41402abc4b2a76b9719d911017c592')
print(f"Type: {info['types'][0]}")
print(f"Security: {info['security_level']}")
python3 hasheye.py 5d41402abc4b2a76b9719d911017c592
# Length: 32, Type: MD5
python3 hasheye.py aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
# Length: 40, Type: SHA1
python3 hasheye.py e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
# Length: 64, Type: SHA256
python3 hasheye.py cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
# Length: 128, Type: SHA512
Soluzione: Il tuo terminale potrebbe non supportare i codici di escape ANSI. I colori sono opzionali e non influenzano la funzionalità.
Soluzione: Assicurati che la stringa hash contenga solo caratteri esadecimali (0-9, a-f, A-F) o caratteri Base64 validi.
Soluzione: Usa percorsi assoluti o assicurati di essere nella directory corretta quando usi l'opzione --file.
I contributi sono benvenuti! Sentiti libero di inviare una Pull Request.
git checkout -b feature/AmazingFeature)git commit -m 'Aggiungi qualche AmazingFeature')git push origin feature/AmazingFeature)Questo progetto è concesso in licenza con la licenza MIT - vedi il file LICENSE per i dettagli.
Connettiti con noi:
Per problemi, domande o contributi:
Realizzato con ❤️ da Isaac Security Labs
| Lunghezza | Tipi di Hash |
|---|
| 32 | MD5, NTLM (possible), LM Hash (possible) |
| 40 | SHA1, RIPEMD-160 |
| 56 | SHA224 |
| 64 | SHA256, SHA3-256, Blake2b-256, RIPEMD-256 |
| 96 | SHA384 |
| 128 | SHA512, SHA3-512, Blake2b-512 |