Mycroft is a Offline File Analyzer and Metadata Scraper. Other than extracting metadata from a certain types of files it also a file analyzer which gives you extra information such as hashes,checksums and other file details.
Python3
sudo apt-get update
sudo apt-get install python3
sudo apt-get install git
git clone https://github.com/Lucksi/Mycroft
cd Mycroft
python3 main.py
After executing the program a simple query example is the following
/home/test/Desktop/example.pdf
In case that an input folder is not specified the input folder will be the folder Files inside Mycroft folder with only the filename the program will extract only the metadata of the inserted file
Platform | Tested |
---|---|
Linux | ✅ |
Mac-Os | ❌ |
Windows | ❌ |
Option name | Description | Query Example |
---|---|---|
--internal |
Scan files from 'Files' internal folder | test.docx --internal |
--output |
Insert path to a custom output folder | --output /home/test/Desktop |
--ext_d |
List Files of an external directory | list --ext_d /home/test/Desktop |
--folder_name |
Change the name of the output directory | --folder_name Test |
--advanced |
Extract advanced information from metadata | test.docx --advanced |
--text |
Extract file text-content from document | test.docx --text |
--search |
Search for a specific keyword in the document | test.docx --text --search Test |
--verbose |
Disable screen output | test.docx --verbose |
--noOutput |
Disable file output | test.docx --noOutput |
--extraction |
Extract media from documents or files from archives | test.docx --extraction |
Description | File-Format |
---|---|
Extract metadata | docx, pdf, xlsx, pptx, jpg, png, mp4, odt, odp, odc, zip, apk, jar, psd |
Get file hashes | All formats |
Get local informations | All formats |
Extract and Download media | docx, pptx, odp, odt |
Extract Text | docx, pptx, odt, odp |
Search Keyword | docx, pptx, odt, odp |
Extract files | zip, apk, jar |
Get archives file information | zip, apk, jar |
Get archive information | zip, apk, jar |
Get Pdf File Permission | |
Recognize archive Compression Type | zip, apk, jar |
Recognize Password Protection | zip, apk, jar |
Recognize Shared File | docx, pptx, xlsx |
Recognize Suspicious keywords | |
Recognize Encryption Algorithm |
Name | File-Format |
---|---|
MD5 |
all files except archive protected files |
SHA1 |
all files except archive protected files |
SHA256 |
all files except archive protected files |
SHA384 |
all files except archive protected files |
SHA512 |
all files except archive protected files |
Name | File-Format |
---|---|
Crc32 |
All Formats |
Crc32-Control-Code |
All Formats |
Adler32-Checksum |
All Formats |
Name | Archive Format |
---|---|
Storage |
zip, apk, jar |
Deflate |
zip, apk, jar |
Enhanced Deflate |
zip, apk, jar |
Bzip2 |
zip, apk, jar |
LZMA |
zip, apk, jar |
Wavpack |
zip, apk, jar |
JPEG |
zip, apk, jar |
XZ |
zip, apk, jar |
PPMD |
zip, apk, jar |
AES |
zip, apk, jar |
ORIGINAL CREATOR: LUCA GAROFALO (Lucksi)