Skip to content
Finds Directory Listings or open S3 buckets from a list of URLs
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md added check for open s3 bucket Dec 31, 2019
main.go added check for open s3 bucket Dec 31, 2019
sample.urls

README.md

dirlstr

Finds Directory Listings or Open S3 Buckets from a list of URLs by traversing the URL paths, e.g.

  https://example.com/foo/bar/baz
  https://example.com/foo/bar/
  https://example.com/foo/

Install

If you have Go installed and configured (i.e. with $GOPATH/bin in your $PATH):

go get -u github.com/cybercdh/dirlstr

Usage

$ dirlstr <url>

or

$ cat <file> | dirlstr

If a URL is found to expose a Directory Listing / open S3 Bucket, it will be printed to the console.

Options

Usage of dirlstr:
  -c int
    	set the concurrency level (default 20)
  -t int
    	timeout (milliseconds) (default 10000)
  -v	Get more info on URL attempts

Thanks

This code was heavily inspired by @tomnomnom. In the immortal words of Russ Hanneman....."that guy f**ks"

You can’t perform that action at this time.