Dorkbot - Scan Google search results for vulnerabilities. 09-09-2017, 10:08 PM
#1
dorkbot is a modular command-line tool for performing vulnerability scans against a set of webpages returned by Google search queries in a given Google Custom Search Engine. It is broken up into two sets of modules:
Targets are stored in a local database upon being indexed. Once scanned, any vulnerabilities found by the chosen scanner are written to a standard JSON report file. Indexing and scanning processes can be run separately or combined in a single command.
Usage:
![[Image: 1c8d213236e50ae637277342c510cdf5.png]](https://i.gyazo.com/1c8d213236e50ae637277342c510cdf5.png)
- Indexers - modules that issue a search query and return the results as targets
- Scanners - modules that perform a vulnerability scan against each target
Targets are stored in a local database upon being indexed. Once scanned, any vulnerabilities found by the chosen scanner are written to a standard JSON report file. Indexing and scanning processes can be run separately or combined in a single command.
Usage:
![[Image: 1c8d213236e50ae637277342c510cdf5.png]](https://i.gyazo.com/1c8d213236e50ae637277342c510cdf5.png)
Code:
usage: dorkbot.py [-h] [-c CONFIG] [-b BLACKLIST] [-d DATABASE] [-i INDEXER]
[-l] [-o INDEXER_OPTIONS] [-p SCANNER_OPTIONS] [-s SCANNER]
[-v VULNDIR]
optional arguments:
-h, --help show this help message and exit
-c CONFIG, --config CONFIG
Configuration file
-b BLACKLIST, --blacklist BLACKLIST
File containing (regex) patterns to blacklist from
scans
-d DATABASE, --database DATABASE
SQLite3 database file
-i INDEXER, --indexer INDEXER
Indexer module to use
-l, --list List targets in database
-o INDEXER_OPTIONS, --indexer-options INDEXER_OPTIONS
Indexer-specific options (opt1=val1,opt2=val2,..)
-p SCANNER_OPTIONS, --scanner-options SCANNER_OPTIONS
Scanner-specific options (opt1=val1,opt2=val2,..)
-s SCANNER, --scanner SCANNER
Scanner module to use
-v VULNDIR, --vulndir VULNDIR
Directory to store vulnerability output reports![[Image: Vs4P58c.png]](https://i.imgur.com/Vs4P58c.png)






![[+]](https://sinister.li/images/modern/collapse_collapsed.png)