# Install uncover on Windows, macOS and Linux

Query Shodan, Censys, FOFA and other search engines for exposed hosts.

uncover sends one query to several host search engines, including Shodan, Censys and FOFA, and prints the matching addresses. It is a quick way to find the hosts that expose a product or a certificate. Each engine needs its own API key.

## How to install uncover

```
ot install uncover
```

ot downloads uncover 1.2.1 as a prebuilt binary from [github.com/projectdiscovery/uncover](https://github.com/projectdiscovery/uncover/releases) and verifies its SHA-256 checksum before installing it. Nothing has to be compiled.

If you do not have ot yet:

macOS and Linux:

```
curl -fsSL https://otinstaller.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://otinstaller.com/install.ps1 | iex
```

Current version: 0.3.0. Both scripts verify the download against its [SHA-256 checksum](https://otinstaller.com/releases/v0.3.0/checksums.txt) before installing.

## How to use uncover

Arguments after the tool's name go straight to uncover.

Query Shodan and print up to 50 results.

```
ot run uncover -q nginx -e shodan -l 50
```

Query two engines and print only the results.

```
ot run uncover -q "example.com" -e shodan,censys -silent
```

`ot run uncover --help` lists every option.

An AI agent can run uncover too: `ot mcp` serves it over the Model Context Protocol. See [OSINT with AI agents](https://otinstaller.com/mcp/).

## API keys for uncover

uncover reads these environment variables. Store one with `ot keys set NAME` and ot passes it to uncover on every run.

| Variable | Purpose |
|---|---|
| `SHODAN_API_KEY` | Shodan key, enables the shodan engine |
| `CENSYS_API_ID` | Censys API ID, enables the censys engine |
| `CENSYS_API_SECRET` | Censys API secret, used with CENSYS_API_ID |

## uncover licence, platforms and versions

- Project: https://github.com/projectdiscovery/uncover
- Licence: MIT
- Runs on: Windows, macOS and Linux
- Takes: query
- Categories: search, hosts, recon
- Sends traffic to the target: no
- Release binary: version 1.2.1 from github.com/projectdiscovery/uncover, verified by SHA-256

## Questions about uncover

### How do I install uncover on Windows?

Open PowerShell and install ot with `irm https://otinstaller.com/install.ps1 | iex`. Then run `ot install uncover`. ot fetches a pinned version of uncover and keeps it under `~/.ot`, apart from the rest of your system.

### Is uncover free?

Yes. uncover is open source, released under the MIT licence. ot, which installs it, is free under the Apache 2.0 licence.

### Do I need Go or a compiler to install uncover?

No. ot downloads the prebuilt uncover binary for your platform and checks its SHA-256 checksum. A mismatch installs nothing.

### How do I update or remove uncover?

`ot update uncover` moves it to the version pinned in ot's registry, and `ot update uncover --latest` to the newest upstream release. `ot remove uncover` uninstalls it.

## Tools related to uncover

- [censys](https://otinstaller.com/tools/censys/): Search Censys for hosts, certificates and subdomains.
- [shodan](https://otinstaller.com/tools/shodan/): Search Shodan for internet-connected devices, open ports and banners.
- [amass](https://otinstaller.com/tools/amass/): In-depth attack surface mapping and subdomain discovery from many data sources.
- [asnmap](https://otinstaller.com/tools/asnmap/): Map an organisation, domain or IP to its ASNs and network ranges.
- [bbot](https://otinstaller.com/tools/bbot/): Recursive OSINT automation: subdomains, emails, web and cloud findings in one run.
- [dnsx](https://otinstaller.com/tools/dnsx/): Fast DNS toolkit for resolving and probing large lists of hostnames.

More: [Networks and hosts](https://otinstaller.com/osint-tools/networks/).
