Skip to content

Add external screenshot service support with configurable request delay#69

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-screenshot-module-service
Draft

Add external screenshot service support with configurable request delay#69
Copilot wants to merge 2 commits intomainfrom
copilot/update-screenshot-module-service

Conversation

Copy link
Contributor

Copilot AI commented Mar 16, 2026

The screenshot module previously required a local gowitness binary (and Chrome/Chromium). This adds support for external HTTP-based screenshot services with a per-request delay to avoid rate-limiting.

Backend

  • New config keys: screenshot_service_url (default: https://image.thum.io/get/) and screenshot_delay (default: 2 seconds)
  • New capture_screenshots_external(): fetches <service_url>/<target_url> per subdomain, sleeps screenshot_delay between requests, saves images locally with hash-suffixed filenames to avoid collisions
  • capture_screenshots() routing: uses external service when screenshot_service_url is non-empty; falls back to gowitness otherwise
  • update_config_settings(): validates and persists the two new keys
# Example: thum.io request for https://sub.example.com
GET https://image.thum.io/get/https://sub.example.com
# → saved as recon_data/screenshots/example.com/https_sub.example.com_a3f2c1d0.png

Settings UI

Two new fields added under the Screenshots section:

  • External screenshot service URL — text input, placeholder https://image.thum.io/get/
  • Delay between screenshot requests (seconds) — number input, min 0

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: The-XSS-Rat <2901706+The-XSS-Rat@users.noreply.github.com>
Copilot AI changed the title [WIP] Update screenshot module to use external service with delay Add external screenshot service support with configurable request delay Mar 16, 2026
Copilot AI requested a review from The-XSS-Rat March 16, 2026 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants