plugins

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 License: MIT Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerRemote

func DockerRemote(info *common.HostInfo) error

func EtcdScan

func EtcdScan(info *common.HostInfo) error

func GetProtocol

func GetProtocol(host string, Timeout int64) string

func KubeAPIServerScan

func KubeAPIServerScan(info *common.HostInfo) (bool, error)

func KubeletScan

func KubeletScan(info *common.HostInfo) bool

func MssqlConn

func MssqlConn(info *common.HostInfo, user string, pass string) (flag bool, err error)

func MssqlExec

func MssqlExec(db *sql.DB, cmd string)

func MssqlScan

func MssqlScan(info *common.HostInfo) error

func MysqlConn

func MysqlConn(info *common.HostInfo, user string, pass string) (flag bool, err error)

func MysqlExec

func MysqlExec(db *sql.DB, cmd string)

func MysqlScan

func MysqlScan(info *common.HostInfo) error

func PostgreExec

func PostgreExec(db *sql.DB, cmd string)

func PostgreScan

func PostgreScan(info *common.HostInfo) error

func PostgresConn

func PostgresConn(info *common.HostInfo, user string, pass string) (flag bool, err error)

func RandHostName added in v0.0.4

func RandHostName() string

func RedisConn

func RedisConn(info *common.HostInfo, pass string) (flag bool, err error)

func RedisExec

func RedisExec(conn net.Conn, addr, cmd string)

func RedisScan

func RedisScan(info *common.HostInfo) error

func RedisUnauth

func RedisUnauth(info *common.HostInfo) (flag bool, err error)

func SMBConn added in v0.0.2

func SMBConn(info *common.HostInfo, user string, pass string) (flag bool, err error)

func SMBScan added in v0.0.2

func SMBScan(info *common.HostInfo) error

func SshConn

func SshConn(info *common.HostInfo, user, pass string) (flag bool, err error)

func SshScan

func SshScan(info *common.HostInfo) error

func WMIAuth added in v0.0.4

func WMIAuth(info *common.HostInfo, cfg wmiexec.WmiExecConfig) (bool, error)

func WMIScan added in v0.0.4

func WMIScan(info *common.HostInfo) error

func WebVulnScan

func WebVulnScan(info *common.HostInfo)

func WrapperTcpWithTimeout

func WrapperTcpWithTimeout(network, address string, timeout time.Duration) (net.Conn, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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