Documentation
¶
Index ¶
- type GCSError
- type GCSListing
- type GobusterGCS
- func (s *GobusterGCS) AdditionalSuccessWords(_ string) []string
- func (s *GobusterGCS) AdditionalWords(_ string) []string
- func (s *GobusterGCS) AdditionalWordsLen() int
- func (s *GobusterGCS) GetConfigString() (string, error)
- func (s *GobusterGCS) Name() string
- func (s *GobusterGCS) PreRun(_ context.Context, _ *libgobuster.Progress) error
- func (s *GobusterGCS) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) (libgobuster.Result, 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 New ¶ added in v3.7.0
func New(globalopts *libgobuster.Options, opts *OptionsGCS, logger *libgobuster.Logger) (*GobusterGCS, error)
New creates a new initialized GobusterGCS
func (*GobusterGCS) AdditionalSuccessWords ¶ added in v3.7.0
func (s *GobusterGCS) AdditionalSuccessWords(_ string) []string
func (*GobusterGCS) AdditionalWords ¶
func (s *GobusterGCS) AdditionalWords(_ string) []string
func (*GobusterGCS) AdditionalWordsLen ¶ added in v3.7.0
func (s *GobusterGCS) AdditionalWordsLen() int
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(_ context.Context, _ *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) (libgobuster.Result, error)
ProcessWord is the process implementation of GobusterS3
type OptionsGCS ¶
type OptionsGCS struct {
libgobuster.BasicHTTPOptions
MaxFilesToList int
ShowFiles bool
}
OptionsGCS is the struct to hold all options for this plugin
func NewOptions ¶ added in v3.7.0
func NewOptions() *OptionsGCS
NewOptions returns a new initialized OptionsS3
Click to show internal directories.
Click to hide internal directories.