MoeRecon is a comprehensive automated Bash wrapper for reconnaissance and vulnerability scanning. It orchestrates powerful tools (like ProjectDiscovery's suite, Amass, Nmap, etc.) to perform deep enumeration of a target domain, organizing the results into a structured directory.
MoeRecon performs a sequential execution of the following stages:
- Initial Domain Recon: Basic Whois, NS lookup, and IP resolution.
- ASN Reconnaissance: Identifies ASN, Organization names, and IP ranges (using
bgp.he.net,asnmap,metabigor). - Reverse Lookups: Performs Reverse MX, NS, and DNS lookups to expand the attack surface.
- TLS/SSL Enumeration: Scans for CN/SAN in certificates across IP ranges (
tlsx). - Reverse Whois: Discovers related domains via registrant organization.
- Subdomain Discovery:
- Passive sources (AlienVault, crt.sh, URLScan, etc.).
- Active tools (
subfinder,assetfinder). - Permutations (
alterx).
- Live Host Discovery: Validates active subdomains using
httpx. - Vulnerability Scanning: Integrates
nucleifor technology detection, DNS, and SSL checks. - Reporting: Generates a summarized text report and organizes all output files.
Since MoeRecon is a wrapper, you must have the following tools installed and available in your $PATH:
- Standard Tools:
curl,dig,nslookup,whois,nmap,python3,jq. - Go Tools (ProjectDiscovery & Others):
- Other Tools:
Note: Some features (like Whoxy or specialized APIs) may require you to edit the script to add your own API keys.
git clone https://github.com/m0erbye/moerecon.git cd moerecon chmod +x moerecon.sh
π» Usage
Run the tool by specifying the target domain using the -d flag. Bash
./moerecon.sh -d example.com
Output Structure
The tool creates a directory named recon__ containing:
/subdomains - Discovery lists.
/ip_scan - IP resolution details.
/asn - ASN and network range information.
/httpx_results - Live web servers and tech stack.
/nuclei_results - Vulnerability scan results.
SUMMARY.txt - A quick overview of the findings.
This tool is for educational purposes and authorized security testing only. The author is not responsible for any misuse or damage caused by this program. Always obtain proper permission before scanning any target.