BishopFox / GitGot

Semi-automated, feedback-driven tool to rapidly search through troves of public data on GitHub for sensitive secrets.
GNU Lesser General Public License v3.0
1.45k stars 207 forks source link

Input list of subdomains #2

Closed ghost closed 5 years ago

ghost commented 5 years ago

Provide option to query a list of subdomains

the-bumble commented 5 years ago

Hey @dtnml!

Good news! You can already do this via GitHub search syntax. ./gitgot.py -q "subdomain-a.example.com|subdomain-b.example.com"

Or, from a file: ./gitgot.py -q "$(paste -sd '|' subdomains)"

The query parameter uses the GitHub API on the backend so all GitHub search operators can be used in the query.

See:

Hope that helps!