Skip to content

dkasak/relative-urls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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