Recon scripts for bug hunting
First install the required tools:
- ffuf
- findomain
- httprobe
- jq
- masscan
- nuclei
- vita
- zdns
- github-subdomains
The recon scripts require a folder for each target with a subfolder called scope
including the following files:
domains.txt
if the target is a wildcard subdomain scope.scope.txt
including the defined (non-wildcard) scopes. This file will be automatically updated fromdomains.txt
.oos.txt
holds out-of-scope domains. Does not support wildcards.
In the main folder which holds all the targets, define programs.txt
which includes the targets to scan. The target name should be the same as the folder name for that target.
You'll also find templates.txt
in the recon folder, this specifies the templates nuclei will run.
initial.sh /pathtotargets/target
Used to set up the scope. This will createalive.txt
for the alive subdomains and dead.txt for the dead subdomains.tld.sh TLD /pathtotargets/target
Used for TLD wildcard scopes, like*.mil
. The script will populatedomains.txt
with all unique domains found for the specified TLD.recon.sh [email protected]
This is the main script that callsrecurrent.sh
on each target and finally runsffuf
andnuclei
on the results.create_scope.txt
- Obsolete, will probably be removed.