← 返回命令列表

Linux command

waybackurls 命令

文件

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Fetch URLs for a domain

echo "[example.com]" | waybackurls

Fetch from multiple domains

cat [domains.txt] | waybackurls

Exclude subdomains

echo "[example.com]" | waybackurls -no-subs

Include dates in output

echo "[example.com]" | waybackurls -dates

Output in JSON format

echo "[example.com]" | waybackurls -json

Save unique URLs to file

echo "[example.com]" | waybackurls | sort -u > [urls.txt]

Find specific file types

echo "[example.com]" | waybackurls | grep "\.js$"

说明

waybackurls fetches all URLs known by the Wayback Machine (Internet Archive) for specified domains. It accepts domains on stdin and outputs discovered URLs to stdout. The tool queries the Wayback Machine's CDX API to retrieve historical URL data. This includes URLs that may no longer exist, revealing past site structure and potentially sensitive endpoints. Common use cases include reconnaissance during security assessments, finding old endpoints, discovering JavaScript files, and identifying removed content. Results often reveal API endpoints, admin panels, and forgotten pages. Install via Go: `go install github.com/tomnomnom/waybackurls@latest`

参数

-no-subs
Don't include subdomains in results.
-dates
Include archive dates in output.
-json
Output results in JSON format.

FAQ

What is the waybackurls command used for?

waybackurls fetches all URLs known by the Wayback Machine (Internet Archive) for specified domains. It accepts domains on stdin and outputs discovered URLs to stdout. The tool queries the Wayback Machine's CDX API to retrieve historical URL data. This includes URLs that may no longer exist, revealing past site structure and potentially sensitive endpoints. Common use cases include reconnaissance during security assessments, finding old endpoints, discovering JavaScript files, and identifying removed content. Results often reveal API endpoints, admin panels, and forgotten pages. Install via Go: `go install github.com/tomnomnom/waybackurls@latest`

How do I run a basic waybackurls example?

Run `echo "[example.com]" | waybackurls` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -no-subs do in waybackurls?

Don't include subdomains in results.