#bug-bounty #machine #subdomain #command-line-tool #command-line-arguments

app way_back

A command line tool to scrape targets from the Wayback Machine

3 releases (stable)

1.1.1 Jan 2, 2024
0.1.0 Jan 2, 2024

#2214 in Command line utilities

MIT license

15KB
228 lines

Wayback

"Buy Me A Coffee"

A multithreaded approach to fetching URLs from the wayback machine! A more rusty version of tomnomnom/waybackurls.

Installation

From crates.io

You can directly fetch the binary from crates.io with:

cargo install way_back

From Source

You can also install it directly from source with:

git clone https://github.com/whokilleddb/wayback
cd wayback
cargo build --release

Command Line Arguments

The tool supports the following command line options

$ wayback --help 

Fetch URLs for a domain from the wayback machine

Usage: wayback [OPTIONS] <domains>...

Arguments:
  <domains>...  Space separated list of domains to enumerate

Options:
  -o, --outfile <outfile>  File to save output to
      --no-subs            Do not enumerate subdomains for the given domain
  -j, --json               Save output as JSON file
  -h, --help               Print help

For example, to enumerate domains for google.com and youtube.com, and store them as a JSON file, the command would be:

$ wayback --json --outfile example.json google.com youtube.com

Notes

  • All the printing which does not include the URL endpoints happens out to stderr so you can pipe the output from stdout to be used in scripts as well!

Dependencies

~10–22MB
~309K SLoC