cmd

package
v0.0.0-...-787453a Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Scan = cli.Command{
	Name:        "scan",
	Usage:       "Start to scan ",
	Description: "start to scan",
	Action:      collect.Scanner,
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:    "plugins",
			Aliases: []string{"p"},
			Value:   "",
			Usage:   "scan plugins: online,vulner,gather all",
		},
		&cli.IntFlag{
			Name:    "time",
			Aliases: []string{"t"},
			Value:   24,
			Usage:   "scan interval(hour)",
		},
		&cli.StringFlag{
			Name:    "proxy",
			Aliases: []string{"px"},
			Value:   "",
			Usage:   "web proxy",
		},
	},
}
View Source
var Web = cli.Command{
	Name:        "web",
	Usage:       "Startup a web Service",
	Description: "Startup a web Service",
	Action:      core.RunWindowsServer,
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:  "host, H",
			Value: "0.0.0.0",
			Usage: "web listen address",
		},
		&cli.IntFlag{
			Name:  "post, p",
			Value: 8000,
			Usage: "web listen port",
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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