Skip to content

vijayanandrp/file-meta-scrapper

Repository files navigation

Meta Scrapper

Created to file forensic analysis based on file meta data (attributes). Backed provided cassandra support for data storage and analysis.

A Python3 Application for Unix-based Operating Systems

Note: Meta scrapper requires at least python version 3.5 to work!


Supported Filetypes

dll | docx | doc | exe | gif | html | jpeg| mkv | mp3 | mp4 | odp | ods | odt | pdf | png | pptx| ppt | svg | torrent |wav | xlsx | xls |zip |


Setup

Install exiftool

Debian-based

apt install libimage-exiftool-perl

RHEL-based

yum install perl-Image-ExifTool

Arch Linux

pacman -S perl-image-exiftool

Mac OSX

brew install exiftool



Install dependencies

pip3 install -r requirements.txt


Running Meta scrapper

  1. To scan you can modify the scan_dir value in definitions.py or you can pass the value during runtime

  2. Run meta_scrapper.py Returns a Excel File

python3 meta_scrapper.py

  1. Run meta_analyse.py Returns a Json File

python3 meta_analyse.py


CASSANDRA SUPPORT

pip3 install cassandra-driver

Thanks to...

Exiftool: https://www.sno.phy.queensu.ca/~phil/exiftool/

pyexifinfo: https://pypi.org/project/pyexifinfo/