Skip to content
/ gauhop Public

gauhop extends gau’s reach by applying known endpoints from associated root domains and their subdomains to your in-scope target.

License

Notifications You must be signed in to change notification settings

ph5i/gauhop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

gauhop

tools like gau are great for finding endpoints, but they fall short on non-production targets like dev/staging/uat — since those often are not indexed yet. gauhop hopes to solve this by running gau across all known subdomains of one or more root domains associated with your in-scope target. it then maps the discovered endpoints to the target domain, giving you a better shot at finding reused paths, sensitive files, or hidden directories.

requirements

  • python 3
  • gau (must be in your system's PATH)

installation

git clone https://github.com/ph5i/gauhop.git
cd gauhop

usage

grab endpoints from all subdomains of the root domain example.com and probe them on your in-scope target dev.example.biz using httpx:

python3 gauhop.py -r example.com -t dev.example.biz | httpx -silent -title -ct -cl

for multiple root domains example.com and example.org and testing them on your in-scope target dev.example.biz:

python3 gauhop.py -r example.com,example.org -t dev.example.biz | httpx -silent -title -ct -cl

to save the URLs to a file for testing later:

python3 gauhop.py -r example.com -t dev.example.com -o urls.txt

todo

  • add deduplication support
  • add option to extract solely the raw endpoints, e.g., instead of http://example.com/foo/bar.png --> /foo/bar.png
  • benchmark against manual flow

license


this tool is licensed under the MIT license.

About

gauhop extends gau’s reach by applying known endpoints from associated root domains and their subdomains to your in-scope target.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages