FastRecon is a fast and simple tool for discovering subdomains of a target domain. It is designed to be non-exhaustive and is not intended to be the most complete solution, but it is ideal for quickly identifying subdomains.
- Fast and efficient subdomain discovery
- Compatible with Go Serverless functions
- Uses popular open source tools such as Subfinder, PureDNS, MassDNS & HTTPX
- Returns results in JSON format for easy integration with other tools
- Supports raw output mode for simple domain lists
When used in a serverless function, the binaries must also be joined with the Go code.
Important
When Fastrecon is run in a Serverless function, the tool is not designed to be run on targets containing a large number of sub-domains (such as Google or Apple).
The Docker image produced is very light despite the many embedded binaries, making it perfect for Serverless use.
Note
Fill in the subfinder.yaml file first with your API keys for best results.
docker build . -t fastrecon
docker run -p 8080:8080 fastrecon
Make HTTP requests to /?domain=[target_domain] with optional parameters.
domain(required): The target domain to scanraw(optional): Set totrueto return only the list of discovered subdomains without additional metadata
Full scan with detailed JSON output:
curl "http://localhost:8080/?domain=example.com"Raw output (domains only):
curl "http://localhost:8080/?domain=example.com&raw=true"Returns a JSON array with detailed information about each subdomain:
[
{
"url": "https://example.com",
"status_code": 200,
"content_length": 1234,
"content_type": "text/html",
"title": "Example Domain",
"a": ["93.184.216.34"],
"cname": null,
"cdn": false,
"tech": ["Apache HTTP Server:2.4.41"],
"header": {
"content_type": "text/html; charset=UTF-8",
"server": "Apache/2.4.41 (Ubuntu)"
}
}
]Returns a simple list of discovered subdomains:
https://example.com
https://www.example.com
https://api.example.com
https://mail.example.com
Example of resources consumption in a Serverless Container with 560mVCPU & 512MB RAM:
- 220 seconds with a cold start for a recon on a domain with about 500 subdomains

