dork-cli ~ Command line Google dork tool.

dork-cli ~ Command line Google dork tool.

dork-cli performs searches against a Google custom search engine and returns a list of all the unique page results it finds, optionally filtered by a set of dynamic page extensions. Any number of additional query terms / dorks can be specified. dork-cli was designed to be piped into an external tool such as a vulnerability scanner for automated testing purposes.
Dependencies:
– Python 2.7.x

dork-cli

Custom Search Engine:
+ Create a custom search engine via https://www.google.com/cse/
+ Add your desired domain(s) under “Sites to search”
+ Click “Search engine ID” button to reveal the id, or grab it from the “cx” url paramter

API key:
+ Open the Google API console at https://code.google.com/apis/console
+ Enable the Custom Search API via APIs & auth > APIs
+ Create a new API key via APIs & auth > Credentials > Create new Key
+ Select “Browser key”, leave HTTP Referer blank and click Create

Usage and Dwonload:

Source: https://github.com/jgor