1
1
Fork 0
mirror of https://github.com/OJ/gobuster.git synced 2024-05-19 02:36:02 +02:00

Slight style and readme adjustments

This commit is contained in:
OJ 2016-06-04 08:53:49 +10:00
parent bd15c67c15
commit d486903f0c
2 changed files with 10 additions and 7 deletions

View File

@ -27,10 +27,10 @@ Yes, you're probably correct. Feel free to :
### Common Command line options
* `-m <mode>` - which mode to use, either `dir` or `dns` (default: `dir`)
* `-u <url/domain>` - full URL (including scheme), or base domain name.
* `-t <threads>` - number of threads to run (default: `10`).
* `-w <wordlist>` - path to the wordlist used for brute forcing.
* `-u <url/domain>` - full URL (including scheme), or base domain name.
* `-v` - verbose output (show all results).
* `-w <wordlist>` - path to the wordlist used for brute forcing.
### Command line options for `dns` mode
@ -38,17 +38,17 @@ Yes, you're probably correct. Feel free to :
### Command line options for `dir` mode
* `-a <user agent string>` - specify a user agent string to send in the request header
* `-c <http cookies>` - use this to specify any cookies that you might need (simulating auth).
* `-e` - expand the results to include the full URL.
* `-f` - append `/` for directory brute forces.
* `-r` - follow redirects.
* `-l` - show the length of the response.
* `-n` - "no status" mode, disables the output of the result's status code.
* `-p <proxy url>` - specify a proxy to use for all requests (scheme much match the URL scheme)
* `-q` - disables banner/underline output.
* `-e` - expand the results to include the full URL.
* `-r` - follow redirects.
* `-s <status codes>` - comma-separated set of the list of status codes to be deemed a "positive" (default: `200,204,301,302,307`).
* `-x <extensions>` - list of extensions to check for, if any.
* `-p <proxy url>` - specify a proxy to use for all requests (scheme much match the URL scheme)
* `-a <user agent string>` - specify a user agent string to send in the request header
### Building
@ -59,6 +59,7 @@ Since this tool is written in [Go](https://golang.org/) you need install the Go
gobuster$ go build
```
This will create a `gobuster` binary for you.
#### Running as a script
```
gobuster$ go run main.go <parameters>

View File

@ -2,6 +2,8 @@ package main
//----------------------------------------------------
// Gobuster -- by OJ Reeves
// Please see THANKS file for contributors.
// Please see LICENSE file for license details.
//
// A crap attempt at building something that resembles
// dirbuster or dirb using Go. The goal was to build
@ -53,7 +55,7 @@ type State struct {
Wordlist string
Url string
Cookies string
UserAgent string
UserAgent string
Extensions []string
StatusCodes IntSet
Verbose bool