> SpiderFoot, theHarvester and recon-ng head to head: how each one works, what is passive and what touches the target, who still maintains it and which fits your case.

Blog · [Domain and IP recon](https://pandorasearch.com/blog/topic/domain-ip-recon/)

# SpiderFoot vs theHarvester vs recon-ng: which to use

By [the Pandora Search team](https://pandorasearch.com/) 21 November 2026 · 11 min read

A comparison by the Pandora Search team. Facts about the alternatives were checked on 21 November 2026 against their own websites and documentation.

SpiderFoot, theHarvester and recon-ng show up together on almost every list of reconnaissance tools, which is why so many people search for which one to pick. All three are free, open source and packaged in Kali Linux, and all three answer the same question: what is publicly known about this domain? But they work in very different ways, and their maintenance today looks nothing alike.

This comparison sums up what each one says about itself, runs all three on the same case and explains when each one fits. We checked their repositories, their READMEs, the recon-ng wiki and their Kali packages on 21 November 2026. Pandora is the tool we build, and we say so wherever it comes up.

## The short answer

- **theHarvester**, if you want a quick first sweep of a domain from the command line, with a single command, from a project that is still being updated.
- **SpiderFoot**, if you want a broad, automated scan with a web interface that chains findings without your input and also accepts IPs, emails or usernames as a starting point.
- **recon-ng**, if you run long engagements and want everything stored in one database per case, each module launched by hand and queryable later with SQL.
- **None of them**, if you would rather not install or maintain anything and the passive side is enough. That is what the last section is for.

## Three ways of working

**theHarvester is a command.** You give it a domain and the sources you want to query, it makes one pass and returns what it finds: hostnames, emails, IPs, URLs and ASNs. If you want to follow a thread from something it found, you run another command: its sources do not pass findings to each other. What does work on its findings is its P1 and P2 options, such as resolving the names or taking screenshots of their websites, and those already query name servers or contact the target.

**SpiderFoot is a scanner.** You give it a target, pick the modules (or a use case that picks them for you) and let it run. Each module publishes what it finds and other modules pick it up to keep searching, without you touching anything. At the end you review a long list in its web interface.

**recon-ng is a framework.** You work in a console with workspaces, one per engagement, each with its own database. You install modules from a marketplace, run them one at a time, and their results go into tables (hosts, contacts and domains, among others) that become the input for the next module. It chains, but you decide every step.

## theHarvester, according to its repository

- **What it is.** According to its README, it gathers open-source intelligence about a domain or organization from search engines and other public sources.
- **License and requirements.** GPL-2.0. From the repository it needs Python 3.14 and the `uv` package manager (`git clone`, `uv sync`). On Kali, `sudo apt install theharvester` gives you 4.11.1, with the `theHarvester` command.
- **Sources.** The README lists 66 in three classes: P0 queries providers that already hold the data without directing traffic at the target; P1 makes DNS queries; P2 contacts the target directly. P1 and P2 only run when you select them. Of the 61 P0 sources, 23 work without a key, 3 accept an optional one and 35 need one.
- **Output.** According to the README, `-f` writes a JSONL, a JSON and an XML file, and every completed run is stored in a local SQLite database. Note that in the 4.11.1 package on Kali, the help says `-f` saves to XML and JSON. The README describes the main branch, which is ahead of the published release.
- **Its status.** The last change on the main branch is from 13 November 2026, and the latest release, 4.11.1, from 3 June 2026.

The README itself asks you to run it only against targets you own or have explicit permission to test. Installation, options and the class of each one are in [how to use theHarvester](https://pandorasearch.com/blog/how-to-use-theharvester/).

## SpiderFoot, according to its repository

- **What it is.** Its README presents it as an OSINT automation tool with over 200 modules, most of which do not need an API key.
- **License and requirements.** MIT and Python 3.7 or later. From the repository, `pip3 install -r requirements.txt` and `python3 ./sf.py -l 127.0.0.1:5001`; on Kali, `sudo apt install spiderfoot` gives you 4.0.
- **Targets.** Ten entity types, including an IP address, a domain, an email, a phone number, a username or a Bitcoin address.
- **What else it brings.** A correlation engine with 37 predefined rules, Tor integration and export to CSV, JSON and GEXF.
- **The paid version.** The README presents SpiderFoot HX, a managed version in the cloud.
- **Its status.** The latest release, 4.0, is from 7 April 2022, and the last change on the main branch from 5 November 2023.

The open-source version still installs and runs, but when a source changes, fixing the module is up to you. The guide on [how to use SpiderFoot](https://pandorasearch.com/blog/how-to-use-spiderfoot/) covers the web interface, the commands and how to stick to passive modules.

## recon-ng, according to its repository

- **What it is.** An open-source reconnaissance framework written in Python, licensed under GPL-3.0.
- **Installation.** On Kali, `sudo apt install recon-ng` gives you 5.1.2, with three commands: `recon-ng`, `recon-cli` and `recon-web`. From the repository, with pip, or with its Dockerfile.
- **Modules.** They do not come with the framework: you install them from its marketplace, which has 109. According to the wiki, the recon branch uses open sources and is passive reconnaissance; the discovery branch sends packets to the target and is active reconnaissance.
- **Data.** Each workspace has its own database, which you query with the `db` command, and the reporting modules export it to HTML, CSV, JSON or XLSX, among other formats.
- **A privacy detail.** Installed from source or with Docker, it sends usage data to Google Analytics every time you load a module, unless you start it with `--no-analytics`. The Kali package ships with analytics switched off.
- **Its status.** The latest tag is v5.1.2. The last change on the main branch, on 5 October 2026, was a README update, and the one before is from 1 November 2024. The most recently updated module in the marketplace is from 30 December 2023.

The console, the everyday commands and a first example are in [how to use recon-ng](https://pandorasearch.com/blog/how-to-use-recon-ng/).

## The same case in all three: a domain's subdomains

Say you need to know which subdomains of your organization show up in public certificate logs. All three can ask the same source, crt.sh, without touching your servers. If crt.sh is not answering that day, there are others in [crt.sh alternatives](https://pandorasearch.com/blog/crt-sh-alternatives/).

**With theHarvester**, one command: `theHarvester -d example.com -b crtsh`. It prints the list on screen and, with `-f report`, saves it.

**With SpiderFoot**, a scan with a single module, the one that queries crt.sh: `spiderfoot -s example.com -m sfp_crt -o csv`. If you choose the Passive use case (`-u passive`) instead of one module, SpiderFoot turns on every module that, by its own account, does not touch the target, and each one picks up what the others find.

**With recon-ng**, a console session:

```
workspaces create example
marketplace install recon/domains-hosts/certificate_transparency
modules load recon/domains-hosts/certificate_transparency
options set SOURCE example.com
run
show hosts
```

The subdomains land in the workspace's `hosts` table, ready for the next module you load to use as input.

The practical difference is where you put the effort: in theHarvester, in choosing which sources to query; in SpiderFoot, in reading the output after the scan; in recon-ng, in deciding every step and keeping the case.

## Passive and active

This matters more than any other row in the table. All three include pieces that contact the target's servers, and running them against systems that are not yours without permission can be illegal.

- **theHarvester** separates them by class. P0 directs no traffic at the target, although the provider does receive the domain you are searching for. P1 (resolving names, reverse DNS, DNS brute forcing) and P2 (screenshots, takeover checks, API paths) only run when you select them.
- **SpiderFoot** mixes them into its modules. Its README lists, among others, a TCP port scanner, DNS name brute forcing, a zone transfer attempt, a web spider and integrations with Nmap and with Nuclei, a vulnerability scanner. The Passive use case is the one that leaves out what touches the target.
- **recon-ng** separates them by branch: recon is passive, discovery is active. Even so, some recon modules resolve names or brute force subdomains. Read each module's `info` before running it.

The rule of thumb is the same for all three: passive work to learn what is published about a domain you do not own; active work only on your own infrastructure or within an engagement with written permission.

## All three in one table

|  | theHarvester | SpiderFoot | recon-ng |
| --- | --- | --- | --- |
| How you work | One command per run | A scan, from a web interface or the console | A console with workspaces |
| Chains findings | Not between sources; one pass per run | Yes, automatically between modules | Yes, by hand, table to table |
| Starting point | A domain or an organization | Ten types: domain, IP, email, phone, username and more | A domain, a company, contacts and more, depending on the module |
| Sources or modules | 66 sources | Over 200 modules | 109 modules in the marketplace |
| Passive or active | P0, P1 and P2 classes | Depends on the modules; Passive use case | recon and discovery branches |
| What it keeps | Report files and a SQLite history | Every scan, in SQLite | One database per workspace |
| Output | JSONL, JSON and XML (XML and JSON in 4.11.1) | CSV, JSON and GEXF | HTML, CSV, JSON, XLSX and more |
| License | GPL-2.0 | MIT | GPL-3.0 |
| Latest release | 4.11.1, June 2026 | 4.0, April 2022 | v5.1.2; code unchanged since November 2024 |
| On Kali | theharvester 4.11.1 | spiderfoot 4.0 | recon-ng 5.1.2 |

## Can you use them together?

Yes, and it is common. A split that works: theHarvester for the first sweep of a domain, because it is quick and it is the only one of the three whose code is still changing; SpiderFoot to follow the thread when you want to cover a lot of ground without stepping in; and recon-ng when the engagement lasts weeks and you want everything in one database per client. If what you want is to see the result as a graph, SpiderFoot's GEXF opens in Gephi, and for truly visual work the natural comparison is [Maltego vs SpiderFoot](https://pandorasearch.com/blog/maltego-vs-spiderfoot/).

## The passive side, in the browser: Pandora

Pandora is the tool we build: an OSINT link analysis search engine that runs in the browser, with nothing to install. It covers the passive side of the same ground, and two of the three are part of its foundations, as we note in the site credits: from SpiderFoot it includes some adapted modules under its MIT license, and from theHarvester it reproduces its method. recon-ng is not among them.

**What it does with a domain.** From a domain, Pandora can gather its DNS over HTTPS, its RDAP and WHOIS data, and its subdomains from Certificate Transparency, from crt.sh and Certspotter. It can also add passive and reverse DNS, other sites that share the IP or the analytics ID, the open ports and known vulnerabilities published by Shodan InternetDB, the network and its owner according to RIPEstat, registered look-alike domains and URLs archived in Common Crawl and the Wayback Machine.

*A domain's infrastructure in Pandora: subdomains from certificates and passive DNS, its IP, its autonomous system and the reputation flags. Example data. [Try it with your own data](https://pandorasearch.com/login/)*

**How you read it.** What it finds is drawn in a graph that grows live, with the source of every finding and the case's audit log, and you can also read it as a map, a timeline, a dossier or a table. Like SpiderFoot, it chains: you choose the depth, and the deep one takes another pass over the usernames, emails, domains and IPs that turn up; double-click an entity to run its automatic transforms.

**Passive by design.** Pandora does not scan anything: it reads what other sources have already observed. Open ports come from what Shodan already publishes in InternetDB. If you need to brute force names or scan your own attack surface, any of the three does it better, with authorization.

**What it costs.** The plans are on the [pricing page](https://pandorasearch.com/pricing/). A free account gets one trial search with the findings masked: you see what kind of findings turn up and how many, but not which ones.

## Which one to pick

- **You want to know in five minutes which subdomains, IPs and emails of a domain are public, from the command line:** theHarvester.
- **You want a broad scan that follows the thread on its own, with a web interface, and you do not mind that it has had no release since 2022:** SpiderFoot.
- **You run long engagements, want to decide every step and query everything with SQL:** recon-ng.
- **You want to start from one data point and follow the case to the email, the company or the photo, without installing anything, with passive sources only and the source of every finding in view:** Pandora.

If you are looking to replace one of them, the [SpiderFoot alternatives](https://pandorasearch.com/blog/spiderfoot-alternatives/) compare more options. The method for reading a domain step by step is in [domain and IP reconnaissance](https://pandorasearch.com/blog/domain-and-ip-reconnaissance/).

## Before you conclude anything

None of the three gives you conclusions: they give you leads. A subdomain that shows up in a certificate may have been unused for years, two domains on the same IP may just be neighbours on shared hosting, and an email found on a website does not tell you who reads it. Corroborate with independent sources before you state anything, and note the source and date of every data point.

When the trail leads to people, the tool does not change the rules: the emails and names they collect are personal data, you need a legitimate purpose and a lawful basis, and you keep no more than the engagement needs. The article on [OSINT and the GDPR](https://pandorasearch.com/blog/osint-and-gdpr-investigating-within-the-law/) explains it in detail.

This article is not legal advice.

## Frequently asked questions

**What is the difference between SpiderFoot and theHarvester?**

theHarvester is a command-line tool that queries many sources about a domain in one pass and returns subdomains, IPs, emails and URLs. SpiderFoot is a scanner with a web interface whose 200+ modules pass findings to each other to keep searching, and it also accepts IPs, emails, phone numbers or usernames as targets.

**Which is better, recon-ng or SpiderFoot?**

It depends on how you work. SpiderFoot chains its modules on its own and leaves you a broad scan to review afterwards. recon-ng is a console with workspaces and a database where you install and run each module yourself, which suits long engagements you want to query with SQL. Neither has had a code change in more than two years.

**Which of the three is still maintained?**

theHarvester, with changes on its main branch in November 2026 and its latest release, 4.11.1, from June 2026. SpiderFoot's latest release, 4.0, is from April 2022 and its last change from November 2023. recon-ng is on v5.1.2, its code has not changed since November 2024 and the newest module in its marketplace is from December 2023.

**Are they passive?**

All three can be, and all three can touch the target. In theHarvester, P0 sources send no traffic to the target and P1 and P2 run only if you select them. In SpiderFoot, the Passive use case leaves out the modules that contact it. In recon-ng, the wiki calls the recon branch passive and the discovery branch active.

**Are they in Kali Linux?**

Yes, all three: theharvester at 4.11.1, spiderfoot at 4.0 and recon-ng at 5.1.2, each installed with sudo apt install and its package name.

**Is it legal to use them?**

The tools are legal; what you need to justify is each use. Anything that touches the target, such as a port scan or DNS brute forcing, is only run against your own systems or with written permission. And the emails and names they collect are personal data: you need a legitimate purpose and a lawful basis under the GDPR or its equivalent.

**See the passive side of reconnaissance without installing anything: type a domain into Pandora and its subdomains, DNS and IP appear in a graph, with the source of every finding.**

Every new account gets one trial search, with no card.

[See plans and pricing](https://pandorasearch.com/pricing/)

Tags: tools SpiderFoot theHarvester recon-ng comparison reconnaissance

## Keep reading

- [How to use SpiderFoot: installation, web UI and CLI commands](https://pandorasearch.com/blog/how-to-use-spiderfoot/): How to use SpiderFoot step by step: install it on Kali or from GitHub, run a scan from the web UI or the command line, pick passive mode, and read and export the results.
- [How to use theHarvester: commands, examples and sources](https://pandorasearch.com/blog/how-to-use-theharvester/): How to use theHarvester to gather a domain's published emails, subdomains, IPs and URLs: installing it on Kali or with uv, the commands that matter, passive and active sources, and the law.
- [How to use recon-ng: commands, modules and a first run](https://pandorasearch.com/blog/how-to-use-recon-ng/): How to use recon-ng step by step: install it on Kali or from GitHub, create a workspace, install modules from the marketplace, run them, read the results and export a report.

[All articles on Domain and IP recon](https://pandorasearch.com/blog/topic/domain-ip-recon/)

---
Page: https://pandorasearch.com/blog/spiderfoot-vs-theharvester/
