Module Name: Github Dork Analyzer
Module path: recon/repositories-vulnerabilities/github_dorks


DORKS:
SOURCE:


Name: Github Dork Analyzer
Path: modules/recon/repositories-vulnerabilities/github_dorks.py
Author: Tim Tomes (@LaNMaSteR53)

Description:
Uses the Github API to search for possible vulnerabilities in source code by leveraging Github Dorks and the 'repo' search operator. Updates the 'vulnerabilities' table with the results.

Options:
Name Current Value Required Description
DORKS /opt/recon-ng/data/github_dorks.txt yes file containing a list of Github dorks
SOURCE default yes source of input (see 'show info' for details)

Source Options:
default SELECT DISTINCT owner || '/' || name FROM repositories WHERE name IS NOT NULL AND resource LIKE 'Github' AND category LIKE 'repo'
<string> string representing a single input
<path> path to a file containing a list of inputs
query <sql> database query returning one column of inputs