When I’m working through a list of a few hundred discovered hosts or URLs from a large recon scan, manually opening each one in a browser just isn’t realistic. That’s exactly the gap CutyCapt fills — a small, no-frills command-line tool that renders a webpage using a real browser engine and saves it as an image, letting me visually triage a huge list of targets in minutes instead of hours.
What Is CutyCapt?
CutyCapt is a command-line utility that captures WebKit’s rendering of a web page and saves it to a file — as a screenshot (PNG, JPEG), a vector image (SVG), or even a PDF/PostScript document. It’s built on top of the Qt framework and WebKit, meaning it renders pages the same way a real browser would, including JavaScript execution, CSS layout, and images — unlike simple HTTP-based screenshot tools that only work with static HTML.
How It Works Internally
CutyCapt uses Qt’s QWebView (backed by WebKit) to load a URL exactly like a lightweight browser tab would:
- It opens a headless Qt application context.
- Loads the target URL into a WebKit rendering engine instance.
- Waits for the page to finish loading (or a configurable delay/timeout).
- Renders the resulting DOM to an off-screen buffer.
- Exports that buffer to the requested output format.
Because it’s a real rendering engine rather than a raw HTML/CSS parser, it correctly captures pages that rely on JavaScript for their layout or content — which matters a lot for modern web apps and admin panels discovered during recon.
Installation
On Debian/Kali-based systems:
sudo apt update
sudo apt install cutycapt
Verify:
cutycapt --help
Basic Syntax
cutycapt --url=<URL> --out=<output_file>
Example: Single Screenshot
cutycapt --url=http://192.168.56.101/admin --out=admin_panel.png
Example: PDF Capture
cutycapt --url=http://192.168.56.101/ --out=homepage.pdf
Common Flags
| Flag | Purpose |
|---|---|
--url= | Target URL to capture |
--out= | Output file (extension determines format: .png, .jpg, .pdf, .svg) |
--delay=<ms> | Wait time before capturing (useful for JS-heavy pages) |
--min-width= / --min-height= | Set viewport dimensions |
--user-agent= | Custom User-Agent string |
--javascript=on/off | Enable or disable JavaScript execution |
--insecure | Ignore SSL certificate errors (lab use only) |
Batch Screenshotting Discovered Hosts
Since CutyCapt only handles one URL per invocation, I combine it with a simple shell loop when working from a list of URLs produced by ffuf, dirb, or an Nmap scan:
while read -r url; do
filename=$(echo "$url" | sed 's/[^a-zA-Z0-9]/_/g').png
cutycapt --url="$url" --out="screenshots/$filename" --delay=2000
done < urls.txt
This produces a folder of PNGs I can flip through quickly to spot login pages, admin panels, default install pages, or anything visually interesting before diving into any single target manually.
Real-World Use Case (Authorized Lab Only)
After running a subdomain enumeration and directory brute-force pass across a lab environment with dozens of virtual hosts, I used CutyCapt in a batch loop to screenshot every discovered URL. That let me instantly spot two hosts still showing default “It works!” Apache pages (indicating fresh, likely misconfigured installs) and one exposed phpMyAdmin login page — all triaged visually in under five minutes rather than opening each URL by hand.
Workflow Integration
- Amass/subfinder + httpx → enumerate live hosts.
- ffuf/dirb → discover additional paths on each host.
- CutyCapt → batch screenshot every discovered URL for fast visual triage.
- EyeWitness/Aquatone (modern alternatives) → for larger engagements, these tools wrap similar screenshot functionality with an HTML gallery report; CutyCapt is often the underlying engine or a lightweight substitute when those aren’t available.
Performance Optimization
- Use
--delayjudiciously — too short and JS-heavy pages capture blank/incomplete; too long and a batch of hundreds of URLs takes forever. 1500–3000ms is a reasonable default for most lab targets. - Run captures in parallel using
xargs -Prather than a plain sequential loop when screenshotting large lists:
cat urls.txt | xargs -P 8 -I {} sh -c 'cutycapt --url="{}" --out="shots/$(echo {} | md5sum | cut -d" " -f1).png"'
Troubleshooting & Common Mistakes
- Blank screenshots — usually means the page needed more load time; increase
--delay. - SSL errors on self-signed lab certs — use
--insecure(lab environments only). - Tool hangs on a specific URL — some pages with infinite redirects or heavy JS can cause WebKit to hang; wrap invocations with a
timeoutcommand:
timeout 15 cutycapt --url=http://192.168.56.101/ --out=shot.png
- Old WebKit rendering quirks — CutyCapt’s bundled WebKit is dated compared to modern browser engines, so very modern JS frameworks may not render perfectly; treat it as a triage tool, not a pixel-perfect renderer.
Best Practices
- Always batch-screenshot right after content/host discovery — visual triage massively speeds up prioritization on large scopes.
- Use consistent, predictable output filenames (hashed URL or sanitized URL string) so screenshots map cleanly back to the original target.
- Combine with a simple HTML index page generator afterward so screenshots can be reviewed in a browser gallery instead of a file manager.
FAQ
Is CutyCapt still actively maintained? Development has slowed significantly since newer alternatives (Aquatone, EyeWitness, gowitness) emerged, but it remains functional and lightweight, and is still packaged in Kali repositories.
Can CutyCapt handle authenticated pages? Not natively with session/cookie management built in beyond basic URL-embedded credentials; for authenticated captures, tools like gowitness with cookie injection are a better fit.
Does CutyCapt run headless by default? It requires an X virtual framebuffer (like xvfb-run) on headless Linux servers without a display:
xvfb-run --auto-servernum cutycapt --url=http://192.168.56.101/ --out=shot.png
Summary
CutyCapt is a small but genuinely useful utility for turning a long list of discovered hosts and URLs into a quick visual gallery. It won’t replace a full browser for deep manual testing, but for fast triage across dozens or hundreds of targets during recon, it saves an enormous amount of time.
References
- Official project page: https://cutycapt.sourceforge.net/
- Source repository: https://github.com/rohanpm/cutycapt
- Kali Linux Tools: https://www.kali.org/tools/cutycapt/