ransom_note

package
v0.0.0-...-908cc04 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID   = "ransom_note"
	Name = "Ransomware note"
)

Variables

This section is empty.

Functions

func NewRansomNote

func NewRansomNote(opts ...RansomNoteOptions) sergeant.Runnable

Types

type RansomNote

type RansomNote struct {
	// contains filtered or unexported fields
}

func (*RansomNote) ID

func (e *RansomNote) ID() string

func (*RansomNote) Name

func (e *RansomNote) Name() string

func (*RansomNote) Run

func (e *RansomNote) Run(ctx context.Context, logger *zap.Logger) error

type RansomNoteOptions

type RansomNoteOptions struct {
	NoteFileName string
	Note         string
}

Jump to

Keyboard shortcuts

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