
Imago è uno strumento python che estrae prove digitali dalle immagini.
Imago è uno strumento Python che estrae prove digitali dalle immagini in modo ricorsivo. Questo strumento è utile durante un'indagine forense digitale. Se devi estrarre prove digitali e hai molte immagini, con questo strumento sarai in grado di confrontarle facilmente. Imago permette di estrarre le prove in un file CSV o in un database sqlite. Se in un JPEG i dati EXIF contengono coordinate GPS, Imago può estrarre latitudine e longitudine e convertirle in gradi, oltre a recuperare informazioni rilevanti come città, nazione, CAP... Imago offre anche la possibilità di calcolare l'Error Level Analysis e di rilevare la nudità; queste funzionalità sono in BETA.
$ pip install imago
$ imago
E quindi dovrebbe mostrare il banner di imago
python 2.7
exifread >= 2.1.2
python-magic >= 0.4.15
argparse >= 1.4.0
pillow >= 5.2.0
nudepy >= 0.4
imagehash >= 4.0
geopy >= 1.16.0
usage: imago.py [-h] -i INPUT [-x] [-g] [-e] [-n] [-d {md5,sha256,sha512,all}]
[-p {ahash,phash,dhash,whash,all}] [-o OUTPUT] [-s]
[-t {jpeg,tiff}]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
Input directory path
-x, --exif Extract exif metadata
-g, --gps Extract, parse and convert to coordinates, GPS exif
metadata from images (if any)It works only with JPEG.
-e, --ela Extract, Error Level Analysis image,It works only with
JPEG. *BETA*
-n, --nude Detect Nudity, It works only with JPEG, *BETA*
-d {md5,sha256,sha512,all}, --digest {md5,sha256,sha512,all}
Calculate perceptual image hashing
-p {ahash,phash,dhash,whash,all}, --percentualhash {ahash,phash,dhash,whash,all}
Calculate hash digest
-o OUTPUT, --output OUTPUT
Output directory path
-s, --sqli Keep SQLite file after the computation
-t {jpeg,tiff}, --type {jpeg,tiff}
Select the image, this flag can be JPEG or TIFF, if
this argument it is not provided, imago will process
all the image types(i.e. JPEG, TIFF)
L'unico argomento obbligatorio è -i, che è la directory di base da cui imago inizierà a cercare i file immagine. Dovresti anche fornire almeno un tipo di estrazione (es. exif, dati, gps, digest).
$ imago -i /home/solvent/cases/c23/DCIM/ -o /home/solvent/cases/c23/ -x -s -t jpeg -d all
Dove:
| Attività | Stato |
|---|---|
| Codice di test | ❌ |
| Commenti e suggerimenti sono benvenuti | 👍 |
Copyright del codice 2018 Redaelli. Codice rilasciato sotto la licenza MIT.
| Funzionalità | Stato |
|---|
| Navigazione ricorsiva directory | ✔️ |
| mtime file (UTC) | ✔️ |
| ctime file (UTC) | ✔️ |
| atime file (UTC) | ✔️ |
| dimensione file (byte) | ✔️ |
| Tipo MIME | ✔️ |
| Supporto Exif | ✔️ |
| Esportazione CSV | ✔️ |
| Esportazione Sqlite | ✔️ |
| md5, sha256, sha512 | ✔️ |
| Error Level Analysis | ✔️ BETA |
| Supporto GPS completo | ✔️ |
| Rilevamento nudità | ✔️ BETA |
| Perceptual Image Hashing | ✔️ |
| aHash | ✔️ |
| pHash | ✔️ |
| dHash | ✔️ |
| wHash | ✔️ |