core

package
v0.0.0-...-626b81c Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name    = "bettercap-ng"
	Version = "1.0.0"
	Author  = "Simone 'evilsocket' Margaritelli"
	Website = "https://bettercap.org/"
)
View Source
const (
	BOLD = "\033[1m"
	DIM  = "\033[2m"

	RED    = "\033[31m"
	GREEN  = "\033[32m"
	YELLOW = "\033[33m"

	RESET = "\033[0m"
)

https://misc.flogisoft.com/bash/tip_colors_and_formatting

View Source
const OFF = RED + "✘" + RESET
View Source
const ON = GREEN + "✔" + RESET

Variables

This section is empty.

Functions

func Bold

func Bold(s string) string

func Dim

func Dim(s string) string

func Exec

func Exec(executable string, args []string) (string, error)

func Exists

func Exists(path string) bool

func ExpandPath

func ExpandPath(path string) (string, error)

func Green

func Green(s string) string

func Red

func Red(s string) string

func Yellow

func Yellow(s string) string

Types

type Options

type Options struct {
	InterfaceName *string
	Caplet        *string
	Debug         *bool
	Silent        *bool
	NoHistory     *bool
	Commands      *string
}

func ParseOptions

func ParseOptions() (Options, error)

Jump to

Keyboard shortcuts

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