Import upstream version 3.4.0+git20221219.1.c49ddbf
Kali Janitor
1 year, 4 months ago
0 | # These are supported funding model platforms | |
1 | ||
2 | github: [OJ, firefart] | |
3 | patreon: OJReeves | |
4 | open_collective: gobuster | |
5 | ko_fi: OJReeves |
0 | # To get started with Dependabot version updates, you'll need to specify which | |
1 | # package ecosystems to update and where the package manifests are located. | |
2 | # Please see the documentation for all configuration options: | |
3 | # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | |
4 | ||
5 | version: 2 | |
6 | updates: | |
7 | - package-ecosystem: "gomod" | |
8 | directory: "/" | |
9 | target-branch: "dev" | |
10 | schedule: | |
11 | interval: "weekly" | |
12 | ||
13 | - package-ecosystem: "github-actions" | |
14 | directory: "/" | |
15 | target-branch: "dev" | |
16 | schedule: | |
17 | # Check for updates to GitHub Actions every weekday | |
18 | interval: "daily" |
0 | name: Go | |
1 | on: [push, pull_request] | |
2 | jobs: | |
3 | build: | |
4 | name: Build | |
5 | runs-on: ubuntu-latest | |
6 | strategy: | |
7 | matrix: | |
8 | go: ["1.18", "1.19"] | |
9 | steps: | |
10 | - name: Set up Go ${{ matrix.go }} | |
11 | uses: actions/setup-go@v3 | |
12 | with: | |
13 | go-version: ${{ matrix.go }} | |
14 | ||
15 | - name: Check out code | |
16 | uses: actions/[email protected] | |
17 | ||
18 | - name: build cache | |
19 | uses: actions/cache@v3 | |
20 | with: | |
21 | path: ~/go/pkg/mod | |
22 | key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
23 | restore-keys: | | |
24 | ${{ runner.os }}-go- | |
25 | ||
26 | - name: Get dependencies | |
27 | run: | | |
28 | go get -v -t -d ./... | |
29 | ||
30 | - name: Build linux | |
31 | run: make linux | |
32 | ||
33 | - name: Build windows | |
34 | run: make windows | |
35 | ||
36 | - name: Test | |
37 | run: make test |
0 | name: golangci-lint | |
1 | on: [push, pull_request] | |
2 | jobs: | |
3 | golangci: | |
4 | name: lint | |
5 | runs-on: ubuntu-latest | |
6 | steps: | |
7 | - uses: actions/[email protected] | |
8 | ||
9 | - uses: actions/setup-go@v3 | |
10 | with: | |
11 | go-version: "^1.19" | |
12 | ||
13 | - name: golangci-lint | |
14 | uses: golangci/golangci-lint-action@v3 | |
15 | with: | |
16 | version: latest |
0 | name: goreleaser | |
1 | ||
2 | on: | |
3 | push: | |
4 | tags: | |
5 | - "*" | |
6 | ||
7 | permissions: | |
8 | contents: write | |
9 | ||
10 | jobs: | |
11 | goreleaser: | |
12 | runs-on: ubuntu-latest | |
13 | steps: | |
14 | - name: Checkout | |
15 | uses: actions/[email protected] | |
16 | with: | |
17 | fetch-depth: 0 | |
18 | - name: Fetch all tags | |
19 | run: git fetch --force --tags | |
20 | - name: Set up Go | |
21 | uses: actions/setup-go@v3 | |
22 | with: | |
23 | go-version: 1.19 | |
24 | - name: Run GoReleaser | |
25 | uses: goreleaser/goreleaser-action@v4 | |
26 | with: | |
27 | distribution: goreleaser | |
28 | version: latest | |
29 | args: release --rm-dist | |
30 | env: | |
31 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
0 | # Binaries for programs and plugins | |
1 | *.exe | |
2 | *.exe~ | |
3 | *.dll | |
4 | *.so | |
5 | *.dylib | |
6 | ||
7 | # Test binary, built with `go test -c` | |
8 | *.test | |
9 | ||
10 | # Output of the go coverage tool, specifically when used with LiteIDE | |
11 | *.out | |
12 | ||
13 | # Dependency directories (remove the comment below to include it) | |
14 | # vendor/ | |
15 | ||
16 | *.prof | |
17 | *.txt | |
18 | *.swp | |
19 | ||
20 | .vscode/ | |
21 | gobuster | |
22 | build | |
23 | ||
24 | dist/ |
5 | 5 | - DNS subdomains (with wildcard support). |
6 | 6 | - Virtual Host names on target web servers. |
7 | 7 | - Open Amazon S3 buckets |
8 | - Open Google Cloud buckets | |
9 | - TFTP servers | |
8 | 10 | |
9 | 11 | ## Tags, Statuses, etc |
10 | 12 | |
72 | 74 | - gcs - Enumerate open google cloud buckets |
73 | 75 | - vhost - virtual host brute-forcing mode (not the same as DNS!) |
74 | 76 | - fuzz - some basic fuzzing, replaces the `FUZZ` keyword |
77 | - tftp - bruteforce tftp files | |
75 | 78 | |
76 | 79 | ## Easy Installation |
77 | 80 | |
688 | 691 | gobuster gcs -w bucket-names.txt |
689 | 692 | ``` |
690 | 693 | |
694 | ## `tftp` Mode | |
695 | ||
696 | ### Options | |
697 | ||
698 | ```text | |
699 | Uses TFTP enumeration mode | |
700 | ||
701 | Usage: | |
702 | gobuster tftp [flags] | |
703 | ||
704 | Flags: | |
705 | -h, --help help for tftp | |
706 | -s, --server string The target TFTP server | |
707 | --timeout duration TFTP timeout (default 1s) | |
708 | ||
709 | Global Flags: | |
710 | --delay duration Time each thread waits between requests (e.g. 1500ms) | |
711 | --no-color Disable color output | |
712 | --no-error Don't display errors | |
713 | -z, --no-progress Don't display progress | |
714 | -o, --output string Output file to write results to (defaults to stdout) | |
715 | -p, --pattern string File containing replacement patterns | |
716 | -q, --quiet Don't print the banner and other noise | |
717 | -t, --threads int Number of concurrent threads (default 10) | |
718 | -v, --verbose Verbose output (errors) | |
719 | -w, --wordlist string Path to the wordlist | |
720 | ``` | |
721 | ||
722 | ### Examples | |
723 | ||
724 | ```text | |
725 | gobuster tftp -s tftp.example.com -w common-filenames.txt | |
726 | ``` | |
727 | ||
728 | ||
691 | 729 | ## Wordlists via STDIN |
692 | 730 | |
693 | 731 | Wordlists can be piped into `gobuster` via stdin by providing a `-` to the `-w` option: |