Get screenshots of URLs stored in the Wayback Machine in a smart way
Features •
Usage •
Installation •
License •
waybackshots
is a straightforward tool designed for obtaining screenshots from archived web pages. It allows users to easily access and capture visual records of historical web content, making it an ideal solution for pentesters, bug-bounty hunters and security researchers.
The process to obtain the screenshots is the following:
- A request is made to
https://web.archive.org/cdx/search/cdx?url=<url-to-screenshot>&output=json
to obtain the list of captures from the Wayback Machine
- The items with repeated
digest
value are discarded
- A screenshot is made for every item
In case a file has to be handled a pre-processing step is made to reduce the number of requests to the previously mentioned endpoint.
Unfortunately, this tool is slow due to limitations by the Wayback Machine itself; for this reason only one URL at a time is processed and there is a timeout for connection errors (that is incremented at every error and reset once the connection is established again).
The goal is to obtain a tool that meets the requirements of the community, therefore suggestions and PRs are very welcome!
âš¡ Features
- Get screenshots for a URL
- Get screenshots for all URLs in a file
- Set custom output dir
- Create a neat HTML or PDF report
📚 Usage
waybackshots -h
This will display the help for the tool
_ _ _ _
_ _ _ ___ _ _| |_ ___ ___| |_ ___| |_ ___| |_ ___
| | | | .'| | | . | .'| _| '_|_ -| | . | _|_ -|
|_____|__,|_ |___|__,|___|_,_|___|_|_|___|_| |___|
|___|
v0.1.1 - https://github.com/groundsec/waybackshots
Get screenshots of URLs stored in the Wayback Machine in a smart way
Usage:
waybackshots [flags]
Flags:
-f, --file string File with URLs to screenshot
-h, --help help for waybackshots
-o, --output string Output dir (default ".")
-u, --url string URL to screenshot
-v, --verbose Verbose mode
🚀 Installation
Run the following command to install the latest version:
go install github.com/groundsec/waybackshots@latest
🪪 License
waybackshots is made with 🖤 by the GroundSec team and released under the MIT LICENSE.