cmd

package
v0.0.0-...-caacdb4 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 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 ConfigScan = &cobra.Command{
	Use:   "scan",
	Short: "扫描本地访问密钥 (Scan for local access keys)",
	Long:  `扫描本地访问密钥 (Scan for local access keys)`,
	Run: func(cmd *cobra.Command, args []string) {
		cmdutil.ScanAccessKey(selectAll)
	},
}
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/fwoawr/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