gobusters3

package
v3.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSError

type AWSError struct {
	XMLName   xml.Name `xml:"Error"`
	Code      string   `xml:"Code"`
	Message   string   `xml:"Message"`
	RequestID string   `xml:"RequestId"`
	HostID    string   `xml:"HostId"`
}

AWSError represents a returned error from AWS

type AWSListing

type AWSListing struct {
	XMLName     xml.Name `xml:"ListBucketResult"`
	Name        string   `xml:"Name"`
	IsTruncated string   `xml:"IsTruncated"`
	Contents    []struct {
		Key          string `xml:"Key"`
		LastModified string `xml:"LastModified"`
		Size         int    `xml:"Size"`
	} `xml:"Contents"`
}

AWSListing contains only a subset of returned properties

type GobusterS3

type GobusterS3 struct {
	// contains filtered or unexported fields
}

GobusterS3 is the main type to implement the interface

func NewGobusterS3

func NewGobusterS3(globalopts *libgobuster.Options, opts *OptionsS3) (*GobusterS3, error)

NewGobusterS3 creates a new initialized GobusterS3

func (*GobusterS3) AdditionalWords

func (d *GobusterS3) AdditionalWords(word string) []string

func (*GobusterS3) GetConfigString

func (s *GobusterS3) GetConfigString() (string, error)

GetConfigString returns the string representation of the current config

func (*GobusterS3) Name

func (s *GobusterS3) Name() string

Name should return the name of the plugin

func (*GobusterS3) PreRun

func (s *GobusterS3) PreRun(ctx context.Context, progress *libgobuster.Progress) error

PreRun is the pre run implementation of GobusterS3

func (*GobusterS3) ProcessWord

func (s *GobusterS3) ProcessWord(ctx context.Context, word string, progress *libgobuster.Progress) error

ProcessWord is the process implementation of GobusterS3

type OptionsS3

type OptionsS3 struct {
	libgobuster.BasicHTTPOptions
	MaxFilesToList int
}

OptionsS3 is the struct to hold all options for this plugin

func NewOptionsS3

func NewOptionsS3() *OptionsS3

NewOptionsS3 returns a new initialized OptionsS3

type Result

type Result struct {
	Found      bool
	BucketName string
	Status     string
}

Result represents a single result

func (Result) ResultToString

func (r Result) ResultToString() (string, error)

ResultToString converts the Result to it's textual representation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL