Lazyrecon – Tool To Automate Your Reconnaissance Process In An Organized Fashion

Lazyrecon is a subdomain discovery tool that finds and resolves valid subdomains then performs SSRF/LFI/SQLi fuzzing, brute-force and port scanning. It has a simple modular architecture and is optimized for speed while working with github and wayback machine.

  • Super fast asynchronous execution
  • CI/CD ready
  • HTML/pdf reports
  • Discord integration
  • Background listen server
  • Domain name, list of domains, IP, CIDR input – notations support
  • Teardown and program exit housekeeping


This script is intended to automate your reconnaissance process in an organized fashion by performing the following:

  • Creates a dated folder with recon notes for a target
  • Grabs subdomains using subfinderassetfindergauwaybackurlsgithub-subdomains
  • Additionally finds new subdomains through alterations and permutations using dnsgen
  • Searches subnets and new assets using math Mode
  • Filters out live subdomains from a list of hosts using shuffledns
  • Checks 1-200,8000-10000 for http(s) probes using httpx
  • Gets visual part using headless chromium
  • Performs masscan on live servers
  • Scanns for known paths and CVEs using nuclei
  • Shots for SSRF/LFI/SQLi based on wayback machine’s data
  • Checks for potential request smuggling vulnerabilities using smuggler
  • Performs ffuf supercharged by interlace using custom WordList based on the top10000.txt
  • Generates report and send it to Discord

The point is to get a list of live IPs (in form of socket addresses), attack available network protocols, check for common CVEs, perform very simple directory bruteforce then use provided reports for manual research.

  • Linux & Mac tested


python >= 3.7
pip3 >= 19.0
go >= 1.14

CI/CD way

You can use stateful/stateless build agent (worker). There is no additional time is required for provisioning. It may look tricky cause masscan/nmap/naabu root user required.

  1. Fill in these required environment variables inside: ./lazyconfig:

access token here export DISCORDWEBHOOKURL= #{}/{webhook.token} export GOPATH=$HOMEDIR/go export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$HOME/go/bin:$HOMEDIR/go/bin export GO111MODULE=on “>

export HOMEUSER= # your normal, non root user: e.g.: kali
export HOMEDIR= # user's home dir e.g.: /home/kali
export STORAGEDIR= # where output saved, e.g.: ${HOMEDIR}/lazytargets
export GITHUBTOKEN=XXXXXXXXXXXXXXXXXX # a personal access token here
export DISCORDWEBHOOKURL= #{}/{webhook.token}
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$HOME/go/bin:$HOMEDIR/go/bin
export GO111MODULE=on
  1. Enable new environment source ./lazyconfig
  2. Call sudo -E ./
  3. Execute sudo -E ./ ""

Github Actions way

Customize .github/workflows/test-recon-action.yaml using DISCORDWEBHOOKURL and GITHUBTOKEN secrets, enable --discord to receive a report:

  - name: Install & Recon
run: |
export STORAGEDIR="${HOMEDIR}"/lazytargets
sudo -E ./
sudo -E ./ "" --quiet --discord

Hard way

Config your environment variables and dependencies using INSTALL.MD

If you faced with some issues, feel free to join Discord, open PR or file the bug.

Execute with sudo because of masscan:

â–¶ sudo -E ./ --wildcard
–wildcardSubdomains reconnaissance ‘*’ (default)./ –wildcard
–singleOne target instance ‘’./ –single
–ipSingle IP of the target machine./ –single –ip
–listList of subdomains to process for./ “./testa.txt” –list
–cidrPerform network recon, CIDR notation./ “” –cidr
–madWayback machine’s stuff./ –mad
–fuzzSSRF/LFI/SQLi fuzzing./ –mad –fuzz
–altAdditionally permutate subdomains (* only)./ –wildcard –alt
–bruteBasic directory bruteforce (time sensitive)./ –single –brute
–discordSend notifications to discord./ –discord
–quietEnable quiet mode./ –quiet


  1. Use dnsperftest to know your best resolvers
  2. Run ./
  3. Check output reports of chromium, nuclei, masscan, server_log, ssrf, lfi
  4. Explore file upload vulnerabilities
  5. Perform Google, Trello, Atlassian, Github, Bitbucket dorking
  6. Check JS sources for credentials, API endpoints
  7. Investigate XHR requests, fuzz parameters and variables
  8. Check for target-specific CVE
  9. GET/POST Bruteforce for directories: fuzbo0oM-top10000 –> raft –> target specific
  10. Continue bruteforcing using custom Headers (X-Custom-IP-Authorization:; X-Original-URL:)
  11. Try bypass 401/403 errors using notable methods (%23/%2e/ etc)
  12. Look for XSS or XSSTRON


This project was inspired by original v1.0 Ben Sadeghipour and aimed to implement some of the best practices like Mechanizing the MethodologyTBHMSubdomain TakeoversRequest SmugglingSSRFLFIand Bruteforce based on Custom wordlist.
Notable articles

  1. IDOR:
  2. SSRF: and


  • aquatone replaced by headless chromium async script based on performance
  • Sublist3r replaced with subfinder based on Twitter discussion
  • nmap replaced with masscan based on its features and Twitter duscussion, use helpers/ by hands using masscan_output.gnmap as input
  • smuggler forked from its original aimed to get lightweight solution included this PR
  • grep meg‘s output for Location in order to exclude 301/302 status codes (replaced with httpx -fc 301,302 approach)
  • httpx -ip used without dnsprobe based on @pdiscoveryio Twitter answer
  • altdns used based on Scrutiny on the bug bounty
  • massdns fully replaced with shuffledns because of issue
  • bounty-targets-data
  • local listen server approach replaced with interactsh
  • WIP: you can track activity in Projects To Do board

Acknowledgement: This code was created for personal use with hosts you able to hack/explore by any of the known bug bounty program. Use it at your own risk.

Download Lazyrecon

Leave a Reply

Your email address will not be published. Required fields are marked *