Skip to content

About

PDFMetadataExtractor is a simple command-line tool that finds PDFs from public sources and extracts metadata and hidden artifacts like emails, URLs, IPs, and file paths. Useful for OSINT, security research, and analysis.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

PDFMetadataExtractor

📖 Overview

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.


🚀 Features

  • 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.

📋 Prerequisites

Make sure you have:

  • Go (version 1.18 or higher)
  • Python 3.8 or higher
  • VT_API_KEY environment variable if you want VirusTotal support
  • Necessary Python libraries (see requirements.txt)

🛠 Installation

  1. Clone the repository:

    git clone https://github.com/Sudo0xSajal/PDFMetadataExtractor.git
    cd PDFMetadataExtractor
    
  2. Build the Go executable:

    go build -o pdfetch pdfetch.go
    
  3. Install Python dependencies:

    pip install -r requirements.txt
    

🔍 Usage

Download PDFs

./pdfetch example.com
python3 metadata_extractor.py --domain example.com

About

PDFMetadataExtractor is a simple command-line tool that finds PDFs from public sources and extracts metadata and hidden artifacts like emails, URLs, IPs, and file paths. Useful for OSINT, security research, and analysis.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages