waybackrobots

command module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 12 Imported by: 0

README

waybackrobots

Enumerate old versions of robots.txt paths using Wayback Machine for content discovery.

Usage

Pass a list of domains/URLs through stdin and waybackrobots will write the full URLs to stdout.

$ cat targets.txt | waybackrobots

Enumerating https://google.com/robots.txt versions... 100% |███████████████████████████████████████████| (50/50, 10 it/s)

https://google.com/analytics/reporting/
https://google.com/ebooks?*q=related:*
https://google.com/compare/*/apply*
...

Command-line options

Option Description Default
-limit Limit the number of crawled snapshots. Use -1 for unlimited. 50
-recent Use the most recent snapshots without evenly distributing them false

Snapshot Distribution

By default, waybackrobots evenly distributes the snapshots it analyzes across the file's history when a limit is set. This is done to diversify the results and get a broader view of the robots.txt file over time.

For example, if you set the limit to 5 and there are 10 snapshots, waybackrobots will analyze every other snapshot starting from the latest one. This means it will analyze the first, third, fifth, seventh, and ninth most recent snapshots.

This default behavior can be changed with the -recent option, which tells waybackrobots to use only the most recent snapshots.

$ echo google.com | waybackrobots | wc
     422     422   13973
$ echo google.com | waybackrobots -recent | wc
     277     277    9100

Installation

Binary

Check out the latest release.

Go install
go install github.com/mhmdiaa/waybackrobots@latest

References

  • This tool is an improved and updated version of waybackrobots.py.
  • If you need a more customizable tool for working with Wayback Machine data, check out chronos.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL