CutyCapt
CutyCapt is a command-line utility that captures WebKit's rendering of web pages into various vector and bitmap formats including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP.
Description
CutyCapt provides a simple way to take screenshots of web pages from the command line, leveraging WebKit's rendering engine. It is particularly useful for automated documentation, testing web page appearances across different configurations, or archiving web content in image or vector formats.
The tool supports a wide range of output formats and customization options such as viewport size, wait times, custom headers, and JavaScript execution controls, making it versatile for penetration testing scenarios where visual verification of web pages is needed without a graphical interface.
As a cross-platform utility, it integrates well into scripts and Kali Linux workflows for tasks like reconnaissance or generating reports with captured web visuals.
How It Works
CutyCapt uses QtWebKit to render the specified URL as a web browser would, then captures the rendered output directly into the chosen format. It supports HTTP requests with custom methods, headers, and bodies, applies user styles or zoom factors, and respects settings like JavaScript and plugin execution before exporting the viewport content.
Installation
sudo apt install cutycaptFlags
Examples
cutycapt --url=http://www.kali.org --out=kali.pngcutycapt --url=http://example.com --out=example.pdfcutycapt --url=https://testsite.com --out=test.svg --min-width=1024 --min-height=768cutycapt --url=http://local/file.html --out=local.png --delay=2000cutycapt --url=http://target.com --out=shot.jpeg --user-agent="Mozilla/5.0" --javascript=offcutycapt --url=http://proxied.com --out=proxy.png --http-proxy=http://127.0.0.1:8080cutycapt --url=http://posttest.com --out=post.png --method=post --body-string="data=test"