DorkEye

image

πŸ“¦ DorkEye β€” Installation Guide


πŸ”— Download (Source)

Clone the repository:

git clone https://github.com/xPloits3c/DorkEye.git

Or download the latest release: πŸ‘‰ github.com/xPloits3c/DorkEye/releases


πŸ“‹ Table of Contents

  1. Prerequisites
  2. Quick Installation (Recommended)
  3. Termux / Android Installation
  4. CLI Command Mode (Optional)
  5. Verification
  6. Project Structure
  7. Troubleshooting
  8. Updating DorkEye
  9. Uninstallation
  10. Support

πŸ”§ Prerequisites

Required Software Check Command
Python 3.9+ python3 --version
pip (latest) pip3 --version
git git --version

Note: git is only required for source installation. If you install via pip install dorkeye, you only need Python and pip.

System Requirements:

Python versions: DorkEye requires Python 3.9 or newer (3.10+ recommended). By default it searches through ddgs; on iSH (iOS) / Alpine, where lxml (and therefore ddgs) can’t be installed, it automatically uses its built-in lxml-free DuckDuckGo client (Devices/iOS/ddg_lite.py) β€” nothing else to install.

Key Python Dependencies (installed automatically via pip install dorkeye or requirements.txt):

Optional Dependencies (for full feature support):


🐧 Quick Installation

This method works on Linux, macOS, and Windows.

# Clone the repository
git clone https://github.com/xPloits3c/DorkEye.git
cd DorkEye

# Create virtual environment
python3 -m venv dorkeye_env

# Activate virtual environment
# Linux / macOS:
source dorkeye_env/bin/activate

# Windows:
# dorkeye_env\Scripts\activate

# Upgrade pip
pip install --upgrade pip

# Install dependencies
pip install -r requirements.txt

# Verify installation
python dorkeye.py -h

πŸ“± Termux / Android Installation

DorkEye auto-detects Termux and activates battery-saver mode (reduced timeouts, fewer probe samples). No additional flags needed.

From Source

# Install Python and git
pkg update && pkg upgrade
pkg install python git

# Clone and install
git clone https://github.com/xPloits3c/DorkEye.git
cd DorkEye

# Create virtual environment (recommended to avoid Termux package conflicts)
python -m venv dorkeye_env
source dorkeye_env/bin/activate

# Install dependencies
pip install --upgrade pip
pip install -r requirements.txt

# Run
python dorkeye.py --wizard

πŸ’‘ On Termux, DorkEye automatically:


🍏 iSH / iOS Installation

iSH runs Alpine Linux (emulated x86) on iPhone/iPad. lxml cannot be built there, and ddgs depends on it, so DorkEye uses a lightweight, lxml-free search backend (ddg_lite) instead.

apk add git
git clone https://github.com/xPloits3c/DorkEye.git
cd DorkEye
sh install.sh
python3 dorkeye.py --wizard

install.sh detects iSH automatically (or force it with sh install.sh --ish). Full details: ish.md


βœ… Verification

From source:

# Show help and all available flags
python dorkeye.py -h

# Create a sample config file
python dorkeye.py --create-config

# Quick test search
python dorkeye.py -d "python programming" -c 5 -o test.html

# Test dork generator (if templates are present)
python dorkeye.py --dg=all --mode=soft -c 5 -o dg_test.html

# Launch the interactive wizard
python dorkeye.py --wizard

πŸ“ Project Structure

DorkEye/
β”œβ”€β”€ dorkeye.py                  # Main script
β”œβ”€β”€ pyproject.toml              # PyPI package configuration
β”œβ”€β”€ requirements.txt            # Python dependencies
β”œβ”€β”€ setup.py                    # CLI install config (editable mode)
β”œβ”€β”€ dorkeye_config.yaml         # Config (generated with --create-config)
β”œβ”€β”€ http_fingerprints.json      # Browser fingerprint profiles
β”œβ”€β”€ Tools/
β”‚   β”œβ”€β”€ dork_generator.py       # Dork Generator engine (--dg)
β”‚   β”œβ”€β”€ dorkeye_agents.py       # Analysis + Crawl agents (--analyze, --crawl)
β”‚   β”œβ”€β”€ dorkeye_analyze.py      # Standalone analysis script (executable directly)
β”‚   └── dorkeye_patterns.py     # Pattern matching utilities
β”œβ”€β”€ Templates/
β”‚   β”œβ”€β”€ dorks_templates.yaml    # Default dork templates
β”‚   └── *.yaml                  # Additional template files
└── Dump/                       # Output folder (auto-created)
    β”œβ”€β”€ results.json
    β”œβ”€β”€ report.html
    └── ...

πŸ› Troubleshooting

ModuleNotFoundError: ddgs

The search engine module has been renamed. Fix:

pip uninstall duckduckgo-search -y
pip install ddgs

ddgs needs lxml. On iSH (iOS) / Alpine, where lxml can’t be installed, this error does not appear: DorkEye uses its built-in DuckDuckGo client automatically, nothing else to install.

Externally Managed Environment (Kali Linux / Debian 12+)

Modern Debian-based systems block global pip installs. Use a virtual environment:

python3 -m venv dorkeye_env
source dorkeye_env/bin/activate
pip install -r requirements.txt

Permission Errors

--templates=filename.yaml syntax error

The --templates flag requires = syntax (no space):

# βœ… Correct
python dorkeye.py --dg=sqli --templates=dorks_templates.yaml

# ❌ Wrong
python dorkeye.py --dg=sqli --templates dorks_templates.yaml

dorkeye_agents.py not found warning

The --analyze and --crawl features require dorkeye_agents.py in the Tools/ directory. If missing, DorkEye runs normally but these features are disabled. Ensure your clone is up to date:

git pull origin master

Note: When installed via PyPI, the Tools/ directory is not included. For full feature support (agents, dork generator), use the source installation.

HTTP Fingerprinting disabled warning

If http_fingerprints.json is missing or malformed, DorkEye falls back to basic User-Agent rotation. Re-download the file from the repository.

SSL/TLS warnings

DorkEye disables SSL verification for maximum compatibility during OSINT scanning. InsecureRequestWarning messages are suppressed automatically.


πŸ”„ Updating DorkEye

Source install:

cd DorkEye
git pull origin master
pip install --upgrade -r requirements.txt

πŸ—‘οΈ Uninstallation

rm -rf DorkEye

Windows:

rmdir /s /q DorkEye

Remove only the virtual environment:

rm -rf dorkeye_env

If installed in CLI mode (source):

pip uninstall dorkeye

πŸ“ž Support

If you encounter issues, open an issue on GitHub: πŸ‘‰ github.com/xPloits3c/DorkEye/issues

Please include:


βœ… Post-Installation Checklist

Source install:


🎯 Installation Complete

DorkEye is ready! Happy hunting. πŸ”