# osintverse-community/fofa

Shows what the FOFA search engine has seen on an IP address or domain: open ports, protocols and products

## Install and run

```sh
ot install osintverse-community/fofa
ot run osintverse-community/fofa ip:8.8.8.8
ot run osintverse-community/fofa d:example.com
```

The first `ot run` installs the tool after asking once. New to `ot`? See https://otinstaller.com/docs/getting-started.

From an AI agent, through ot's MCP server (`ot mcp`):

```
run_tool {"tool":"osintverse-community/fofa","inputs":{"ip":"8.8.8.8"}}
```

## Inputs

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `ip` | ip | no |  | IP address to look up (give an IP or a domain, not both) |
| `domain` | domain | no |  | Domain to look up (give an IP or a domain, not both) |

## Outputs

Finds: ip, domain, other.

- `other`: Open ports, protocols and the products FOFA recognised

## What a run does

- Does not contact the target.
- Does not collect personal data.
- Needs an account (it logs in, or uses an account or API key of yours).
- Does not notify the target.
- Usually takes about 5 seconds.
- Connects to the internet.

An agent needs the person's consent before running this tool, because it uses the person's own account or API key. See https://otinstaller.com/docs/agents#consent.

## API keys

- `FOFA_EMAIL` (required): The email address of your FOFA account Get one at https://en.fofa.info/vip
- `FOFA_KEY` (required, paid): Your FOFA API key; the host API needs a paid FOFA membership Get one at https://en.fofa.info/vip

Store a key with `ot keys set NAME`; it stays in the OS keychain.

## Trust

- Latest version: 2.0.3
- Signed: no
- Verified publisher: yes
- Health: unknown
- Installs in the last 30 days: 0
- License: MIT
- Runtime: Python wheel (pipx), pinned by hash
- Repository: https://github.com/osintverse-community/fofa
- Packaged by the community from a third-party tool

## Links

- Web page: https://otinstaller.com/osintverse-community/fofa
- JSON: https://api.otinstaller.com/v1/tools/osintverse-community/fofa
- README: https://github.com/osintverse-community/fofa#readme
- Homepage: https://github.com/fofapro/fofa-py
- Security details: https://otinstaller.com/osintverse-community/fofa/security
- Report a problem: https://otinstaller.com/osintverse-community/fofa/report
