metasploit

package
v0.0.0-...-ec228a3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MsfClient

type MsfClient struct {
	Host     string
	Username string
	Password string
	Token    string
}

func NewMsfClient

func NewMsfClient(host, user, pass string) (*MsfClient, error)

func (*MsfClient) ListSessions

func (c *MsfClient) ListSessions() (map[uint32]sessionListRes, error)

func (*MsfClient) Login

func (c *MsfClient) Login() error

func (*MsfClient) Logout

func (c *MsfClient) Logout() error

func (*MsfClient) Send

func (c *MsfClient) Send(msgReq interface{}, msgRes interface{}) error

Jump to

Keyboard shortcuts

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