msf

package
v1.5.31 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: GPL-3.0 Imports: 6 Imported by: 3

README

MSF

Golang wrapper around various MSF tools.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// ValidArches - Support CPU architectures
	ValidArches = map[string]bool{
		"x86": true,
		"x64": true,
	}

	// ValidEncoders - Valid MSF encoders
	ValidEncoders = map[string]bool{
		"":                   true,
		"x86/shikata_ga_nai": true,
		"x64/xor_dynamic":    true,
	}
)

Functions

func Arch

func Arch(arch string) string

Arch - Convert golang arch to msf arch

func VenomPayload

func VenomPayload(config VenomConfig) ([]byte, error)

VenomPayload - Generates an MSFVenom payload

func Version

func Version() (string, error)

Version - Return the version of MSFVenom

Types

type VenomConfig

type VenomConfig struct {
	Os         string
	Arch       string
	Payload    string
	Encoder    string
	Iterations int
	LHost      string
	LPort      uint16
	BadChars   []string
	Format     string
	Luri       string
}

VenomConfig -

Jump to

Keyboard shortcuts

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