gobustertftp

package
v0.0.0-...-d9f5d15 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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GobusterTFTP

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

GobusterTFTP is the main type to implement the interface

func NewGobusterTFTP

func NewGobusterTFTP(globalopts *libgobuster.Options, opts *OptionsTFTP) (*GobusterTFTP, error)

NewGobusterTFTP creates a new initialized NewGobusterTFTP

func (*GobusterTFTP) AdditionalWords

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

func (*GobusterTFTP) GetConfigString

func (d *GobusterTFTP) GetConfigString() (string, error)

GetConfigString returns the string representation of the current config

func (*GobusterTFTP) Name

func (d *GobusterTFTP) Name() string

Name should return the name of the plugin

func (*GobusterTFTP) PreRun

func (d *GobusterTFTP) PreRun(ctx context.Context, progress *libgobuster.Progress) error

PreRun is the pre run implementation of gobustertftp

func (*GobusterTFTP) ProcessWord

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

ProcessWord is the process implementation of gobustertftp

type OptionsTFTP

type OptionsTFTP struct {
	Server  string
	Timeout time.Duration
}

OptionsTFTP holds all options for the tftp plugin

func NewOptionsTFTP

func NewOptionsTFTP() *OptionsTFTP

NewOptionsTFTP returns a new initialized OptionsTFTP

type Result

type Result struct {
	Filename     string
	Found        bool
	Size         int64
	ErrorMessage 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