ftp

package
v0.0.0-...-68385cf Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScanner

func NewScanner() scanners.Scanner

Creates a new scanner for us to add to the main loop

Types

type Scanner

type Scanner struct{}

This is our scanner and does all the work from the main

func (Scanner) Description

func (this Scanner) Description() string

Returns a description of this scanner

func (Scanner) Name

func (this Scanner) Name() string

Returns the name of this scanner

func (Scanner) Scan

func (this Scanner) Scan(target, cmd string, cred scanners.Credential, outChan chan scanners.Result)

Runs the actual scan, takes an input of our target, the creds we need to use for this one, a command to run if we have one, and our out channel for results

func (Scanner) SupportedAuthentication

func (this Scanner) SupportedAuthentication() []string

Returns the types of auth we support in this scanner

func (Scanner) SupportedAuthenticationExample

func (this Scanner) SupportedAuthenticationExample() map[string]string

Returns some examples on how to configure the auth info

Jump to

Keyboard shortcuts

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