tupa

package
v0.0.0-...-bfb1b0f Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FuProts = FuMap{}
View Source
var Tout int

Functions

func Ftpcon

func Ftpcon(hostp string, user string, pass []string, _ []string, con net.Conn)

Example of a protocol

func Ftpscon

func Ftpscon(hostp string, user string, pass []string, _ []string, con net.Conn)

Example of a stacked protocol (i.e, FTP/TLS), where it relies on a TLS tunnel

func ProtoAdd

func ProtoAdd(FuMap)

func Rdpcon

func Rdpcon(hostp string, user string, pass []string, infos []string, con net.Conn)

func Start

func Start()

Types

type Client

type Client struct {
	Host string // ip:port
	// contains filtered or unexported fields
}

type Fu

type Fu func(string, string, []string, []string, net.Conn)

type FuMap

type FuMap map[string]Fu

type WaitGroupCount

type WaitGroupCount struct {
	sync.WaitGroup
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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