bettercap: github.com/bettercap/bettercap/core Index | Files

package core

import "github.com/bettercap/bettercap/core"

Package core contains basic utility functions.

Index

Package Files

banner.go core.go core_unix.go doc.go options.go

Constants

const (
    Name    = "bettercap"
    Version = "2.11"
    Author  = "Simone 'evilsocket' Margaritelli"
    Website = "https://bettercap.org/"
)

func Exec Uses

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

func ExecSilent Uses

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

func Shell Uses

func Shell(cmd string) (string, error)

func UniqueInts Uses

func UniqueInts(a []int, sorted bool) []int

type Options Uses

type Options struct {
    InterfaceName *string
    Caplet        *string
    AutoStart     *string
    Debug         *bool
    Silent        *bool
    NoColors      *bool
    NoHistory     *bool
    EnvFile       *string
    Commands      *string
    CpuProfile    *string
    MemProfile    *string
}

func ParseOptions Uses

func ParseOptions() (Options, error)

Package core imports 5 packages (graph) and is imported by 20 packages. Updated 2018-11-20. Refresh now. Tools for package owners.