PDFMetadataExtractor is a command‑line toolset that:
- Downloads PDFs associated with domains using OSINT sources (Wayback Machine, Common Crawl, VirusTotal).
- Extracts metadata (author, creation date, software, cryptographic hashes).
- Scans the PDF content for artifacts: IPs, URLs, emails, file paths, GPS coordinates, etc.
This is useful for threat‑intelligence, file‑analysis, audits, archival, or academic research.
- Concurrent URL fetching from multiple sources.
- Filtering to PDF files only.
- Organized storage (
pdf_dump/<domain>/). - Python tool for metadata extraction and artifact scanning.
- Corrupt PDFs are moved to a separate folder for review.
Make sure you have:
- Go (version 1.18 or higher)
- Python 3.8 or higher
VT_API_KEYenvironment variable if you want VirusTotal support- Necessary Python libraries (see
requirements.txt)
-
Clone the repository:
git clone https://github.com/Sudo0xSajal/PDFMetadataExtractor.git cd PDFMetadataExtractor -
Build the Go executable:
go build -o pdfetch pdfetch.go -
Install Python dependencies:
pip install -r requirements.txt
./pdfetch example.com
python3 metadata_extractor.py --domain example.com