Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 644 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 644 Bytes

About

This is a simple tool to extract potential web endpoints (relative URLs) from a file or stdin, based on some heuristics. Useful when bug hunting.

It's similar to jobertabma's relative-url-extractor, except it's written in Python and can also receive input from stdin, since I often use commands in a pipeline. It also allows some additional characters which are valid in an URL so it will catch some additional endpoints.

Usage

  • relative-urls some-file.js another-file.js
  • curl https://some-url.com/ | relative-urls