msf

package
v0.0.0-...-372fb67 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDescription

func FormatDescription(desc string) string

FormatDescription :

func FormatModuleURL

func FormatModuleURL(path string) string

FormatModuleURL :

func FormatReferences

func FormatReferences(refType string, refID string) string

FormatReferences :

func Parse

func Parse(file []byte, path string) (*models.Module, error)

Parse : Extracts information from update_info of module as a regular expression.

func WalkDirTree

func WalkDirTree(root string) ([]models.Module, error)

WalkDirTree :

Types

type Config

type Config struct {
	GitClient   git.Operations
	CacheDir    string
	VulnListDir string
}

Config : Config parameters used in Git.

func (Config) Update

func (c Config) Update() (err error)

Update : Clone msf to the cache directory and search for the module recursively.

Jump to

Keyboard shortcuts

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