Skip to main content

Automate sending dorked queries to search engine

Project description

DorkScan

An atypical search engine scanner that scans search engines with dorked queries returning potentially vulnerable URLs.

Installation

PyPI

pip install dorkscan

Source

If using a virtual environment pass the full directory path to where you cloned DorkScan

$git clone https://gitlab.com/unkwn1/dorkscan.git
$cd dorkscan
$pip install -e dorkscan

DorkScan Function

Scrape a search engine result page for (potentially) vulnerably sites.

def DorkScan(
    dorks: list[str],
    search_engine: str="BING",
    pages: int=1,
    console: Console=Console()
    ) -> list[ScanResults]

Usage

To view an example of the function in action run: python3 -m dorkscan

from dorkscan import DorkScan
results = DorkScan(
    search_engine: str="BING",
    pages: int=1,
    dorks: list = ["inurl:.php?", "inurl:admin.php"]
    )
print(results)

Args

Required Args

dorks: list[str] -
    a list of string dork queries ie. "inurl:.php?=","inurl:admin.php"
search_engine: str -
    Bing / Ask / Wow.

Optional Args

pages: int -
    Number of search engine result pages to scan.
silent: bool -
    Disable stdout printing
console: Console -
    [rich](https://rich.readthedocs.io/en/stable/reference/console.html) console object for printing.

Return

`list[ScanResults]` -
    list item for each page. Each page's result dictionary contains `{"dork": str, "links": list}`

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dorkscan-0.1.1.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

dorkscan-0.1.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file dorkscan-0.1.1.tar.gz.

File metadata

  • Download URL: dorkscan-0.1.1.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for dorkscan-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7af5968a6aa8356df139e67b03e94d99a4a35a0883feaae104c9837169b392db
MD5 a985749583120faed27a2ceca5190ff1
BLAKE2b-256 0f1af7433f2715b1ea58e6ec1c05233262d09a727c1fc816d1cdbb8b9a6b3c88

See more details on using hashes here.

File details

Details for the file dorkscan-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: dorkscan-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for dorkscan-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 14b462fb0ba3b28bb2078a57ab2f9fefb56bdd615af35cd28087b67fc1fb4c74
MD5 daad7b07f3c171dcfc57185027c0d430
BLAKE2b-256 be60e9bc54efafdd0c08da6893d49632c12269bb5c2269ffa44099c21686fc68

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page