Skip to content

Commit

Permalink
add extension blacklist -b flag
Browse files Browse the repository at this point in the history
  • Loading branch information
lc committed Dec 10, 2020
1 parent 02313f8 commit e611783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $ printf example.com | gau
$ cat domains.txt | gau
$ gau example.com
$ gau -o example-urls.txt example.com
$ gau -b png,jpg,gif example.com
```

To display the help for the tool use the `-h` flag:
Expand All @@ -28,6 +29,7 @@ $ gau -h
| Flag | Description | Example |
|------|-------------|---------|
| `-providers` | providers to fetch urls from (by default, all are used) | `gau -providers wayback,otx,commoncrawl example.com` |
| `-b` | extensions to skip | `gau -b jpg,png,gif example.com` |
| `-retries` | amount of retries for http client | `gau -retries 7 example.com` |
| `-subs` | include subdomains of target domain | `gau -subs example.com` |
| `-p` | http proxy to use | `gau -p http://localhost:8080 example.com` |
Expand All @@ -49,7 +51,7 @@ $ GO111MODULE=on go get -u -v github.com/lc/gau
You can download the pre-built binaries from the [releases](https://github.com/lc/gau/releases/) page and then move them into your $PATH.

```bash
$ tar xvf gau_1.0.3_linux_amd64.tar.gz
$ tar xvf gau_1.1.0_linux_amd64.tar.gz
$ mv gau /usr/bin/gau
```

Expand Down
2 changes: 1 addition & 1 deletion providers/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

const (
// Version of gau
Version = `1.0.7`
Version = `1.1.0`
// UserAgent for the HTTP Client
userAgent = "Mozilla/5.0 (compatible; gau/" + Version + "; https://github.com/lc/gau)"
)
Expand Down

0 comments on commit e611783

Please sign in to comment.