Raccoon: an asyncio reconnaissance scanner that wraps Nmap
A high performance offensive security tool for reconnaissance and vulnerability scanning
At a glance
- What is it?
- Raccoon is a Python 3.5+ CLI that chains DNS, WHOIS, TLS, port and web enumeration into one run and writes each module's output to its own file. It is aimed at pentesters who want a single command instead of a folder of scripts, and it assumes Nmap and OpenSSL are already on the box.
- Who is it for?
- Adopt Raccoon if you already run Nmap and OpenSSL on Linux or macOS and want DNS, WHOIS, TLS, port and web enumeration in one command with per-module output files. Skip it if you need JSON output, multiple targets from a file, CIDR ranges or rate-limit evasion, all of which the README lists as unfinished roadmap items rather than features.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Activity is slowing. The repository last received commits 7 months ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- evyatarmeged/Raccoon4,080 ★ · +49
| Repository | 2026-09-24 | 2026-11-24 |
|---|---|---|
| evyatarmeged/Raccoon | 4k | 4.1k |
49 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What Raccoon collects in a single pass
Raccoon is a command line reconnaissance tool. Its README describes it as doing "everything from fetching DNS records, retrieving WHOIS information, obtaining TLS data, detecting WAF presence and up to threaded dir busting and subdomain enumeration." That list is the product. Instead of running dig, whois, openssl s_client, nmap and a directory brute forcer one after another by hand, you point Raccoon at a hostname and it runs those collection steps itself.
The audience is narrow and specific: someone doing authorised penetration testing or bug bounty reconnaissance on Linux or macOS who is comfortable with Nmap output and does not need a GUI. The README's feature list is written for that reader, down to the detail that subdomain enumeration combines Google dorking, DNS dumpster queries, SAN discovery and brute force. The web application side adds CMS detection, robots.txt and sitemap extraction, cookie inspection, HTML form discovery, email harvesting and a check for exposed S3 buckets.
What it is not is a vulnerability scanner in the sense of a tool that confirms exploitability. The Nmap vulners option runs the nmap_vulners NSE script, and the README describes the separate "owasp" branch with more web application attacks as unmerged and unfinished. Treat Raccoon as a collector that hands you a directory of findings, not as a verdict.
Why the scans run independently, and what that costs
The architecture follows from one design decision stated in the README: most of Raccoon's scans are independent and do not rely on each other's results, so it uses Python's asyncio to run them asynchronously. There is no pipeline where the port scan feeds the service scan which feeds the web scan. Each module fires, collects, and writes.
That independence is why the tool feels fast and why it is easy to reason about: a failure in the TLS module does not abort the DNS module. The cost is that modules cannot share context. The subdomain enumerator does not know which subdomains the port scanner already found open, and the fuzzer does not narrow its wordlist based on the CMS the detector identified. You get breadth, not chaining.
The concurrency model is also split. asyncio covers the Python-side HTTP and DNS work, while URL fuzzing and subdomain enumeration use a thread pool controlled by -T/--threads, defaulting to 25. Those are two different concurrency mechanisms in one process, and the README does not explain how they interact when both are saturated. In practice the thread count is the knob you will touch first, because it directly multiplies request volume against the target.
Output is deliberately plain. The README states that every scan outputs to a corresponding file, that targets are separated by folders and modules by files. There is no database and no JSON, and the roadmap lists "More output formats (JSON at the very least)" as a TODO. If you want to feed results into another tool, you are parsing text.
Installing Raccoon and running a first scan
The README gives a pip path for the stable release. Note the package name differs from the command name: the distribution is raccoon-scanner, the entry point is raccoon. Python 3.5 or newer is required, and the README notes you may need pip3.
pip install raccoon-scanner
raccoon [OPTIONS]Before any of that works, two external programs must be present. The README calls Nmap mandatory because Raccoon uses it to scan ports and runs some of its NSE scripts, and OpenSSL is required for the TLS/SSL scans. Neither is installed by pip. On macOS there is a third dependency: the README says you need gtimeout, installable with brew install coreutils.
If you want the current source rather than the released version, the README offers a clone and a choice between two setup.py modes. The distinction matters for anyone editing the code.
python setup.py install # changes to source are not reflected in calls to raccoon
python setup.py develop # changes are reflected; undo with --uninstallA first real run needs a target and somewhere to put output. The README's own usage line is raccoon [OPTIONS] TARGET, and the Docker example passes -o to set the output directory.
raccoon example.com -o ./resultsExpect one folder per target and one file per module inside it. The default DNS record set is A,MX,NS,CNAME,SOA,TXT, so a bare run already queries six record types. To cut the loudest parts while you learn the output, the README provides --no-url-fuzzing, --no-sub-enum and --skip-nmap-scan as separate switches. There is also a container path, built from the repository's Dockerfile on python:3.8-alpine, which installs nmap, nmap-scripts and openssl via apk. Because the container runs as a non-root user, the README's example writes to /home/raccoon:
docker build -t evyatarmeged/raccoon .
docker run --name raccoon evyatarmeged/raccoon:latest example.com -o /home/raccoonWhere Raccoon gets in your way
The most consequential limitation is the wordlist and response-code behaviour. Raccoon ships default wordlists from SecLists for URL fuzzing and subdomain discovery, and different lists can be passed with -w and --subdomain-list. Fuzzing ignores a fixed set of HTTP status codes by default: 302,400,401,402,403,404,503,504. On a target that answers 302 for every unknown path, that default suppresses nearly everything the fuzzer finds, and the run looks clean when it is not. The switch exists (--ignored-response-codes) but the README does not explain how to choose the list, so this is a setting you have to reason about per target.
Second, anonymous routing is slow by the project's own admission. The README says --tor-routing uses port 9050 and "slows total runtime significantly", and that --proxy, --proxy-list and the rest slow runtime too. A proxy from --proxy-list is chosen at random per request, which spreads load but makes results harder to reproduce on a second run.
Third, the missing features are the ones teams ask for first. The roadmap lists support for multiple hosts read from a file, IP ranges, CIDR notation, rate limit evasion and JSON output as unchecked TODOs. If your workflow scans a subnet or needs machine-readable results, Raccoon does not do it today, and the README does not document a workaround.
Finally, there is no rollback or dry-run described anywhere in the README. A scan with fuzzing and subdomain brute force is an active, noisy operation against the target, and the only throttles offered are --threads and the option to disable modules entirely.
Raccoon against a general framework like Recon-ng
The natural comparison is a modular reconnaissance framework such as Recon-ng, which organises collection into discrete modules backed by a database and lets you chain module output into later modules. Raccoon takes the opposite position. Its README explicitly grounds the design in scans that are independent and do not rely on each other's results, which is what allows asyncio to run them concurrently. There is no database and no module marketplace; there is a fixed feature list compiled into the tool.
That difference decides the choice. If you want to write your own collection modules, store findings in a queryable database, or build a repeatable multi-stage workflow, Recon-ng's model fits and Raccoon's does not. If you want one command that returns a folder of DNS, WHOIS, TLS, port and web findings for a single hostname, Raccoon's model is simpler and its per-module file output is easy to read. The trade is extensibility for immediacy.
A second, lighter comparison is running the underlying tools directly. Raccoon is largely an orchestrator over Nmap, OpenSSL and HTTP requests, and the README is candid that Nmap and OpenSSL must be installed separately. Anyone who already scripts dig, whois, nmap and ffuf into a shell pipeline has most of Raccoon's coverage; what they do not have is the WAF detection, the S3 bucket check, the CMS and form discovery, and the single output layout. That is the actual delta, and it is worth measuring against your own existing scripts before adding a dependency.
Licence and the cost of keeping it running
Raccoon is MIT licensed, per the LICENSE file in the repository root and the license field in setup.py. MIT is permissive: you can use, modify and redistribute it, including in commercial engagements, provided the copyright notice and permission notice are retained. This is not legal advice and does not cover the licences of what Raccoon calls out to, notably Nmap, whose own licensing is a separate question you should settle yourself if you redistribute anything bundled.
On maintenance, the last push to the repository was on 2026-04-21. The repository is not archived. The repository has no published GitHub releases, and setup.py still reports version 0.8.5, matching the version badge in the README. The roadmap items are stated as TODOs, so the practical upgrade cost is that features you are waiting for may not arrive on any schedule you can plan around.
Upgrade cost is low in the pip case: the package declares its own dependencies (beautifulsoup4, requests, dnspython, lxml, click, fake-useragent, requests[socks], xmltodict) and installs them for you. The Docker path pins a base image of python:3.8-alpine and installs the released package, so rebuilding the image picks up whatever is current at build time. The macOS path carries the ongoing cost of coreutils for gtimeout. The real recurring cost is environmental: Nmap and OpenSSL must stay installed and current on every machine where you run scans, and that is outside Raccoon's control.
Editorial conclusion
Adopt Raccoon if you already run Nmap and OpenSSL on Linux or macOS and want DNS, WHOIS, TLS, port and web enumeration in one command with per-module output files. Skip it if you need JSON output, multiple targets from a file, CIDR ranges or rate-limit evasion, all of which the README lists as unfinished roadmap items rather than features. Before trusting a scan, verify three things on your own host: that nmap and openssl resolve on PATH, that gtimeout exists if you are on macOS, and that the default ignored response codes (302,400,401,402,403,404,503,504) match the target's behaviour, since a site that returns 302 for missing paths will hide most of the fuzzing results.
Frequently asked questions
What is Raccoon used for?
Raccoon is an offensive security tool for reconnaissance and information gathering. According to the README it collects DNS records, WHOIS information and TLS data, detects WAF presence, scans ports with Nmap, fuzzes URLs and enumerates subdomains, writing every scan to a corresponding file.
How do I install Raccoon?
The README gives pip install raccoon-scanner for the latest stable version, then raccoon [OPTIONS] to run it. Python 3.5 or newer is required, so you may need pip3, and Nmap plus OpenSSL must already be installed because Raccoon depends on them.
Does Raccoon work on macOS?
Yes, but the README states you need gtimeout on the machine, which can be installed by running brew install coreutils. The README's OS badge lists Linux and macOS only, so Windows is not covered.
Can Raccoon scan more than one host at a time?
Not according to the README. Supporting multiple hosts read from a file, along with IP ranges and CIDR notation, appears in the roadmap as an unchecked TODO rather than a documented feature.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/evyatarmeged-raccoon)Star history chart for your README
[](https://hysenlabs.com/projects/evyatarmeged-raccoon)Was this useful?