cmd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "lateralus",
	Short: "terminal-based phishing-campaing tool",
	Long: `Simple to use terminal-based phishing campaign tool
				with a lot of customization options and report generations.
				Provides integration with modlishka.
		`,
}

Functions

This section is empty.

Types

type Attack

type Attack struct {
	Targets  string `yaml:"targets"`
	Template string `yaml:"template"`
}

Attack struct holds template targets and mail template used to send mails

type General

type General struct {
	Bulk      bool   `yaml:"bulk"`
	BulkDelay int    `yaml:"bulkDelay"`
	BulkSize  int    `yaml:"bulkSize"`
	Delay     int    `yaml:"delay"`
	Separator string `yaml:"separator"`
	Bcc       bool   `yaml:"bcc"`
}

Generator struct holds general information

type Mail

type Mail struct {
	Name    string `yaml:"name"`
	From    string `yaml:"from"`
	Subject string `yaml:"subject"`
	Custom  string `yaml:"custom"`
}

Mail struct holds information that will be used to populate mails

type MailServer

type MailServer struct {
	Encryption string `yaml:"encryption"`
	Host       string `yaml:"host"`
	Port       int    `yaml:"port"`
	Username   string `yaml:"username"`
	Password   string `yaml:"password"`
}

MailServer struct holds information needed for mail server loging

type Options

type Options struct {
	Mail       Mail       `yaml:"mail"`
	Attack     Attack     `yaml:"attack"`
	MailServer MailServer `yaml:"mailServer"`
	Url        Url        `yaml:"url"`
	General    General    `yaml:"general"`
}

Options struct holds all options inside of it

type Result

type Result struct {
	StartTime    string
	EndTime      string
	Subject      string
	From         string
	AttackerName string
	URL          string
	Custom       string
	Targets      []SendingMail
}

type SendingMail

type SendingMail struct {
	Target
	Body         string
	AttackerName string
	URL          string
	Custom       string
}

type Target

type Target struct {
	Name  string
	Email string
}

type Url

type Url struct {
	Generate bool   `yaml:"generate"`
	Link     string `yaml:"link"`
	Length   int    `yaml:"length"`
}

Url struct holds information for mail generation

Jump to

Keyboard shortcuts

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