Skip to main content

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}`

Release files for dorkscan 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dorkscan 0.1.1
File Size Uploaded
dorkscan-0.1.1.tar.gz 17.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dorkscan 0.1.1
File Interpreter ABI Platform
dorkscan-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.3 kB

Release files / dorkscan-0.1.1.tar.gz

Download URL dorkscan-0.1.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7af5968a6aa8356df139e67b03e94d99a4a35a0883feaae104c9837169b392db
BLAKE2b-256 checksum
How to use checksums
0f1af7433f2715b1ea58e6ec1c05233262d09a727c1fc816d1cdbb8b9a6b3c88
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / dorkscan-0.1.1-py3-none-any.whl

Download URL dorkscan-0.1.1-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14b462fb0ba3b28bb2078a57ab2f9fefb56bdd615af35cd28087b67fc1fb4c74
BLAKE2b-256 checksum
How to use checksums
be60e9bc54efafdd0c08da6893d49632c12269bb5c2269ffa44099c21686fc68
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page