cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDel = &cobra.Command{
	Use:   "del",
	Short: "删除访问凭证 (Delete access key)",
	Long:  `删除访问凭证 (Delete access key)`,
	Run: func(cmd *cobra.Command, args []string) {
		cmdutil.ConfigDel()
	},
}
View Source
var ConfigLs = &cobra.Command{
	Use:   "ls",
	Short: "列出已配置过的访问凭证 (List configured access key)",
	Long:  `列出已配置过的访问凭证 (List configured access key)`,
	Run: func(cmd *cobra.Command, args []string) {
		cmdutil.ConfigLs(selectAll)
	},
}
View Source
var ConfigMf = &cobra.Command{
	Use:   "mf",
	Short: "修改已配置过的访问凭证 (Modify configured access key)",
	Long:  `修改已配置过的访问凭证 (Modify configured access key)`,
	Run: func(cmd *cobra.Command, args []string) {
		cmdutil.ConfigMf()
	},
}
View Source
var ConfigSw = &cobra.Command{
	Use:   "sw",
	Short: "切换访问凭证 (Switch access key)",
	Long:  `切换访问凭证 (Switch access key)`,
	Run: func(cmd *cobra.Command, args []string) {
		cmdutil.ConfigSw()
	},
}
View Source
var RootCmd = &cobra.Command{
	Use:   "cf",
	Short: "cf is a cloud exploitation framework, designed for testing the security of cloud environments.",
	Long: `
 ▄████   ▐████▄       
 ██▀        ▀██      ██████╗    ███████╗
 ▀▀          ▀▀     ██╔════╝    ██╔════╝
   ▀▀▀▀▀▀▀▀▀▀       ██║         █████╗  
 ▄▄          ▄▄     ██║         ██╔══╝ 
 ██▄        ▄██     ╚██████╗    ██║   
 ▀████   ▐████▀      ╚═════╝    ╚═╝
 
        github.com/teamssix/cf

cf 是一个云环境利用框架,本工具仅可用于合法合规用途。
cf is a cloud exploitation framework, designed for testing the security of cloud environments.
`,
	PersistentPreRun: func(cmd *cobra.Command, args []string) {
		util.Init(logLevel)
	},
}

Functions

func Execute

func Execute()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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