Run the full DorkEye pipeline directly from your Android device. Termux is auto-detected — no extra flags needed. Battery-saver tuning activates automatically.
Do not use the Play Store version of Termux. It is outdated and will cause dependency errors.
pkg install -y git
git clone https://github.com/xPloits3c/DorkEye
cd DorkEye
sh install.sh
install.sh detects Termux automatically and runs Devices/Android/install_termux.sh, which installs libxml2/libxslt (needed to build lxml), creates the dorkeye_env virtualenv and installs every requirement. Then:
source dorkeye_env/bin/activate
python dorkeye.py --wizard
To force Termux mode: sh install.sh --termux.
The manual steps below do the same thing by hand, if you prefer.
pkg update && pkg upgrade -y
Run this first, every time, on a fresh Termux install.
pkg install -y python git libxml2 libxslt
| Package | Why it’s needed |
|---|---|
python |
Runtime for DorkEye |
git |
Clone the repository |
libxml2 |
Required by lxml (HTML parser) — C extension |
libxslt |
Required by lxml — C extension |
Important:
libxml2andlibxsltmust be installed viapkgbefore runningpip install. Skipping this step will cause thelxmlbuild to fail with afatal errorduring requirements installation.
git clone https://github.com/xPloits3c/DorkEye
cd DorkEye
pip install -r requirements.txt
This installs all required libraries:
| Library | Purpose |
|---|---|
requests / urllib3 |
HTTP engine |
PyYAML |
Config and template parsing |
beautifulsoup4 / lxml |
HTML parsing |
rich |
Terminal UI and formatting |
colorama |
Color support |
ddgs |
DuckDuckGo search integration |
flask |
Web Console (--ui) — optional |
python dorkeye.py -h
Expected output: the full help banner with all available flags. If you see it, DorkEye is ready.
When DorkEye detects it is running inside Termux, the banner displays:
Platform: Android / Termux ⚡ battery-saver active
The following parameters are automatically reduced to preserve battery and avoid timeouts on mobile connections:
| Parameter | Desktop | Termux |
|---|---|---|
| Connect timeout | 4 s | 3 s |
| SQLi baseline samples | 2 | 1 |
| Probe samples | 3 | 2 |
| Boolean blind samples | 3 | 2 |
| Time-based confirmations | 2 | 1 |
No flags required — this tuning is applied automatically.
python dorkeye.py --wizard
Guided menus for every option. The easiest way to start.
python dorkeye.py -d "inurl:login.php" -o results.html
Searches DuckDuckGo for the dork and saves an interactive HTML report in Dump/.
python dorkeye.py -d dorks.txt -c 100 -o results.json
dorks.txt — one dork per line, lines starting with # are ignored.
-c 100 — fetch up to 100 results per dork (default: 50).
python dorkeye.py -u "https://target.com/page.php?id=1"
Runs the full vulnerability pipeline directly against a single URL.
--sqli and --xss are auto-enabled in this mode.
python dorkeye.py -d "inurl:.php?id=" --sqli -o results.json
python dorkeye.py -d "inurl:search.php?q=" --xss -o results.json
python dorkeye.py -d "inurl:.php?id=" --sqli --xss -o results.json
python dorkeye.py -d "inurl:.php?id=" --sqli --xss --stealth -o results.json
--stealth adds longer delays between requests (1.4×–1.8×) to reduce detection and rate-limiting.
Recommended on mobile connections where reconnections are costly.
All output files are saved inside the Dump/ folder (auto-created).
| Extension | Format |
|---|---|
.html |
Interactive dark-theme report — filterable, searchable, exportable |
.json |
Full structured data + statistics — triggers analysis prompt |
.csv |
Spreadsheet-compatible, all columns included |
.txt |
Plain text, one result per block |
# HTML report (default, recommended for reading)
python dorkeye.py -d "inurl:config.php" -o report.html
# JSON (required for --analyze, --crawl, --dbscan re-processing)
python dorkeye.py -d "inurl:config.php" -o results.json
If no extension is provided, .json is appended automatically.
# Add SQLi scan to existing results
python dorkeye.py -f Dump/results.json --sqli -o retest.json
# Add XSS scan
python dorkeye.py -f Dump/results.json --xss -o retest.json
# Run full analysis on saved results
python dorkeye.py -f Dump/results.json --analyze --analyze-fetch -o analysis.json
Useful to avoid repeating the search — reuse results and add new scan layers.
Generate dorks from built-in templates and search immediately.
# Generate all categories, search, detect SQLi
python dorkeye.py --dg=all --sqli -o results.json
# Generate SQLi-focused dorks, medium intensity
python dorkeye.py --dg=sqli --mode=medium --sqli -o results.json
--mode value |
Behaviour |
|---|---|
soft |
Low-risk dorks, minimal expansion (default) |
medium |
Broader coverage patterns |
aggressive |
Maximum combinations — high result volume |
On mobile,
softormediumis recommended.aggressivecan generate thousands of requests.
Requires Tools/dorkeye_agents.py. Automatically skipped if the file is missing.
python dorkeye.py -d dorks.txt --analyze -o results.json
python dorkeye.py -d dorks.txt --analyze --analyze-fetch -o results.json
--analyze — runs triage, secrets detection, and generates a report after the search.
--analyze-fetch — also downloads page content for HIGH / CRITICAL results.
Output format options: html (default), md, json, txt.
python dorkeye.py -d dorks.txt --analyze --analyze-fmt md -o results.json
Requires Tools/db_portscan.py. Scans hosts extracted from results for exposed database ports.
# Integrated — runs after the search
python dorkeye.py -d dorks.txt --dbscan -o results.json
# Standalone — on saved results
python Tools/db_portscan.py Dump/results.json
python Tools/db_portscan.py Dump/results.json --timeout 3 --threads 40
Termux note: The default
--dbscan-threads 60may be high for some Android devices. If you experience instability, reduce it:--dbscan-threads 30or--dbscan-threads 40. Private and loopback IPs are automatically excluded from the scan.
--ui)Launches a local Flask-based dashboard in your browser.
python dorkeye.py --ui
Termux note: The browser will not open automatically on Android. After launching, open your browser manually and navigate to:
http://127.0.0.1:8080If port 8080 is busy, DorkEye auto-increments. Check the terminal output for the actual port.
--ui cannot be combined with any other input flag (-d, -u, -f, --dg) in the same command.
| Action | Effect |
|---|---|
| Single Ctrl+C (or Vol Down + C in Termux) | Skip current task → continue to next |
| Double Ctrl+C within 1.5 s | Exit immediately → save partial results |
# Quickest start — guided wizard
python dorkeye.py --wizard
# Search + SQLi + HTML report
python dorkeye.py -d "inurl:.php?id=" --sqli -o results.html
# Search + SQLi + XSS + stealth
python dorkeye.py -d dorks.txt --sqli --xss --stealth -o results.json
# Direct URL vulnerability test
python dorkeye.py -u "https://target.com/page.php?id=1"
# Generate dorks + scan + analyze
python dorkeye.py --dg=sqli --mode=medium --sqli --analyze -o results.json
# Re-process saved results — add analysis
python dorkeye.py -f Dump/results.json --analyze --analyze-fetch -o analysis.json
# DB port scan on saved results (reduced threads for mobile)
python Tools/db_portscan.py Dump/results.json --threads 40 --timeout 3
lxml build fails during pip install
pkg install libxml2 libxslt
pip install -r requirements.txt
ModuleNotFoundError for any package
pip install -r requirements.txt --force-reinstall
git clone is slow or fails
Check your connection or try:
pkg install wget
and download the ZIP from GitHub manually.
--ui — browser does not open
Expected on Android. Open http://127.0.0.1:8080 manually in any browser.
Double Ctrl+C not working
In Termux, use the keyboard shortcut Vol Down + C as the Ctrl key equivalent.
For the full list of 38 flags, advanced combinations, and detailed module documentation:
Docs/cli.md — complete CLI referenceDocs/xss.md — XSS detection engineDocs/sqli.md — SQL injection engineDocs/dbscan.md — DB port scannerDocs/agents.md — analysis pipelineDocs/webconsole.md — Web Console (--ui)