evaluate

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RouteLocalNetProcPath = "/proc/sys/net/ipv4/conf/all/route_localnet"

Functions

func BasicSysInfo

func BasicSysInfo()

func CheckCloudMetadataAPI

func CheckCloudMetadataAPI()

func CheckK8sAnonymousLogin

func CheckK8sAnonymousLogin() bool

func CheckK8sServiceAccount

func CheckK8sServiceAccount(tokenPath string) bool

func CheckNetNamespace

func CheckNetNamespace()

func CheckRouteLocalNetworkValue

func CheckRouteLocalNetworkValue()

func GetProcCapabilities

func GetProcCapabilities() bool

func MountEscape

func MountEscape()

func SearchAvailableCommands

func SearchAvailableCommands()

func SearchLocalFilePath

func SearchLocalFilePath()

func SearchSensitiveEnv

func SearchSensitiveEnv()

func SearchSensitiveService

func SearchSensitiveService()

Types

type Mount

type Mount struct {
	Device     string
	Path       string
	Filesystem string
	Flags      string
}

func GetMounts

func GetMounts() ([]Mount, error)

Jump to

Keyboard shortcuts

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