Documentation ¶
Index ¶
- type GCSError
- type GCSListing
- type GobusterGCS
- func (s *GobusterGCS) AdditionalWords(word string) []string
- func (s *GobusterGCS) GetConfigString() (string, error)
- func (s *GobusterGCS) Name() string
- func (s *GobusterGCS) PreRun(ctx context.Context, progress *libgobuster.Progress) error
- func (s *GobusterGCS) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) error
- type OptionsGCS
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSError ¶
type GCSError struct { Error struct { Code int `json:"code"` Message string `json:"message"` Errors []struct { Message string `json:"message"` Reason string `json:"reason"` LocationType string `json:"locationType"` Location string `json:"location"` } `json:"errors"` } `json:"error"` }
GCSError represents a returned error from GCS
type GCSListing ¶
type GCSListing struct { IsTruncated string `json:"nextPageToken"` Items []struct { Name string `json:"name"` LastModified string `json:"updated"` Size string `json:"size"` } `json:"items"` }
GCSListing contains only a subset of returned properties
type GobusterGCS ¶
type GobusterGCS struct {
// contains filtered or unexported fields
}
GobusterGCS is the main type to implement the interface
func NewGobusterGCS ¶
func NewGobusterGCS(globalopts *libgobuster.Options, opts *OptionsGCS) (*GobusterGCS, error)
NewGobusterGCS creates a new initialized GobusterGCS
func (*GobusterGCS) AdditionalWords ¶
func (s *GobusterGCS) AdditionalWords(word string) []string
func (*GobusterGCS) GetConfigString ¶
func (s *GobusterGCS) GetConfigString() (string, error)
GetConfigString returns the string representation of the current config
func (*GobusterGCS) Name ¶
func (s *GobusterGCS) Name() string
Name should return the name of the plugin
func (*GobusterGCS) PreRun ¶
func (s *GobusterGCS) PreRun(ctx context.Context, progress *libgobuster.Progress) error
PreRun is the pre run implementation of GobusterS3
func (*GobusterGCS) ProcessWord ¶
func (s *GobusterGCS) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) error
ProcessWord is the process implementation of GobusterS3
type OptionsGCS ¶
type OptionsGCS struct { libgobuster.BasicHTTPOptions MaxFilesToList int }
OptionsGCS is the struct to hold all options for this plugin
func NewOptionsGCS ¶
func NewOptionsGCS() *OptionsGCS
NewOptionsGCS returns a new initialized OptionsS3
Click to show internal directories.
Click to hide internal directories.