dkasak / relative-urls

Extract endpoints from stdin or files.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Extract endpoints from stdin or files.


Languages

Language:Python 100.0%