# Metagoofil

> Python CLI that uses Google search to find and download public documents of given file types from a domain.

Source: https://osinttools.io/tools/metagoofil/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** Domain
- **Category:** Documents and metadata
- **Pricing:** Open source (Free and open source)
- **Footprint:** depends on the modules you run
- **Account required:** no
- **API:** no public API
- **Platforms:** Python CLI
- **Website:** https://github.com/opsdisk/metagoofil
- **GitHub:** opsdisk/metagoofil, 610 stars · Python · last commit 2026-10-31
- **Listed:** Nov 23
- **Last verified by an editor:** Nov 23, 2026

## What it does

Metagoofil searches Google for files of chosen types (PDF, DOC, XLS and so on) hosted on a target domain and can download them. The maintained opsdisk version deliberately no longer extracts metadata itself; it leaves analysis to tools such as ExifTool.

Investigators use it as the collection step of a document-metadata workflow: gather an organisation's public files, then run ExifTool over the folder to find author names, usernames and software. Downloading files contacts the target's servers.

Footprint is depends: whether the target is contacted depends on which modules or transforms you run. No account is needed. There is no public API.

## Features

- Google search for files by type
- Optional bulk download
- Configurable delays and result limits
- Proxy support
- Docker image

## Pros

- Simple, scriptable collection step
- Pairs well with ExifTool
- Free and open source

## Cons

- Does not extract metadata in current versions
- Google may rate-limit or block automated searches
- Downloading touches the target's servers

## When to use it

- Use it when you need to collect every public PDF or Office file from a domain before analysing metadata.
- Use it when you want a command-line step you can script into a larger recon pipeline.

## Quick start

Install and run:

```
git clone https://github.com/opsdisk/metagoofil
cd metagoofil
pip install -r requirements.txt
python3 metagoofil.py -d example.com -t pdf,doc,xls -w
```

## Alternatives

- [DNSDumpster](https://osinttools.io/tools/dnsdumpster/): Passive DNS reconnaissance site that lists a domain's subdomains, hosts, mail and name servers with a map. (Freemium · Domain · passive)
- [Fast Google Dorks Scan](https://osinttools.io/tools/fast-google-dorks-scan/): Shell script that runs a set of Google dork searches against one website to find admin panels, file types and exposed paths. (Open source · Domain · passive · 1,744 GitHub stars)
- [Findomain](https://osinttools.io/tools/findomain/): Rust subdomain finder that queries certificate logs and dozens of passive APIs, with optional monitoring and alerts. (Open source · Domain · depends · 3,838 GitHub stars)
- [GitHound](https://osinttools.io/tools/githound/): Go tool that uses GitHub code search and dorks to find exposed API keys and credentials across public repositories and gists. (Open source · Domain · passive · 1,475 GitHub stars)
- [OWASP Amass](https://osinttools.io/tools/amass/): OWASP command-line tool for subdomain enumeration and attack surface mapping using passive sources and DNS. (Open source · Domain · depends · 15,554 GitHub stars)
- [OneForAll](https://osinttools.io/tools/oneforall/): Python subdomain collector that combines certificate logs, DNS datasets, search engines, brute force and takeover checks. (Open source · Domain · depends · 10,160 GitHub stars)

All alternatives to Metagoofil in one table: https://osinttools.io/tools/metagoofil/alternatives/

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
