scan

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2017 License: GPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Outside = iota
	Header  = iota
	Content = iota
)

state

Variables

Log for localhsot

Functions

func CheckIfSudoNoPasswd added in v0.1.5

func CheckIfSudoNoPasswd(localLogger *logrus.Entry) error

CheckIfSudoNoPasswd checks whether vuls can sudo with nopassword via SSH

func DetectPlatforms added in v0.1.5

func DetectPlatforms(localLogger *logrus.Entry)

DetectPlatforms detects the platform of each servers.

func InitServers

func InitServers(localLogger *logrus.Entry) error

InitServers detect the kind of OS distribution of target servers

func Prepare

func Prepare() []error

Prepare installs requred packages to scan vulnerabilities.

func PrintSSHableServerNames added in v0.1.5

func PrintSSHableServerNames()

PrintSSHableServerNames print SSH-able servernames

func Scan

func Scan() []error

Scan scan

Types

This section is empty.

Jump to

Keyboard shortcuts

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