DorkQuery is a static web app to build and run search dorks with a visual drag-and-drop workspace.
- Build queries with predefined operators (
site:,inurl:,filetype:, etc.) - Create custom reusable blocks stored in LocalStorage
- Explore and import dorks from a local dataset (GHDB + DorkHub)
- Filter explorer results by category, source, and keyword
- Open generated queries directly in Google, Bing, or DuckDuckGo
index.html: App layout and script includesstyle.css: UI stylesjs/: Frontend logicmain.js: App bootstrap and search executionblockManager.js: Workspace and palette statednd.js: Drag and drop behavior (SortableJS)ghdbService.js: Data loading/filtering/paginationghdbExplorerUI.js: Explorer rendering and interactionscustomBlock.js: Custom block form handling
data/: Datasets and parser scripts
Use a local HTTP server (required for fetch to load data/*).
python -m http.server 8000Then open:
http://localhost:8000
The app tries to load:
data/unified_dorks.json.gz(preferred)data/ghdb_clean.json(fallback)
If gzip is used, pako must be available (loaded from CDN in index.html).
Python scripts in data/ can refresh and merge sources:
data/ghdb_extractor.pydata/dorkhub_parser.py
They generate files such as:
ghdb_clean.jsondorkhub_clean.json(.gz)unified_dorks.json(.gz)
- No automated tests in repository yet
- Large datasets can increase initial load time and memory usage
- Query export/share is not implemented