Documentation
¶
Index ¶
- func AntiFlagSet(f *pflag.FlagSet)
- func ArtifactShowCmd(cmd *cobra.Command, con *core.Console) error
- func BeaconCmd(cmd *cobra.Command, con *core.Console) error
- func BeaconFlagSet(f *pflag.FlagSet)
- func BindCmd(cmd *cobra.Command, con *core.Console) error
- func BuildInputFlagSet(f *pflag.FlagSet)
- func BuildLogCmd(cmd *cobra.Command, con *core.Console) error
- func BuildModuleMaleficConfig(modules, thirdModules []string) ([]byte, error)
- func CheckSource(con *core.Console, buildConfig *clientpb.BuildConfig) (string, error)
- func Commands(con *core.Console) []*cobra.Command
- func DeleteArtifact(con *core.Console, name string) (bool, error)
- func DeleteArtifactCmd(cmd *cobra.Command, con *core.Console) error
- func DgaFlagSet(f *pflag.FlagSet)
- func DownloadArtifact(con *core.Console, name string, format string, rdi string) (*clientpb.Artifact, error)
- func DownloadArtifactCmd(cmd *cobra.Command, con *core.Console) error
- func ExecuteBuild(con *core.Console, buildConfig *clientpb.BuildConfig) error
- func GuardrailFlagSet(f *pflag.FlagSet)
- func ImplantInputFlagSet(f *pflag.FlagSet)
- func ListArtifactCmd(cmd *cobra.Command, con *core.Console) error
- func ModuleFlagSet(f *pflag.FlagSet)
- func ModulesCmd(cmd *cobra.Command, con *core.Console) error
- func OllvmFlagSet(f *pflag.FlagSet)
- func PreludeCmd(cmd *cobra.Command, con *core.Console) error
- func PreludeInputFlagSet(f *pflag.FlagSet)
- func PrintArtifacts(artifacts *clientpb.Artifacts, con *core.Console) error
- func ProfileDeleteCmd(cmd *cobra.Command, con *core.Console) error
- func ProfileDetailCmd(cmd *cobra.Command, con *core.Console) error
- func ProfileLoadCmd(cmd *cobra.Command, con *core.Console) error
- func ProfileNewCmd(cmd *cobra.Command, con *core.Console) error
- func ProfileShowCmd(cmd *cobra.Command, con *core.Console) error
- func ProxyFlagSet(f *pflag.FlagSet)
- func PulseCmd(cmd *cobra.Command, con *core.Console) error
- func PulseFlagSet(f *pflag.FlagSet)
- func Register(con *core.Console)
- func SearchArtifact(con *core.Console, pipeline, typ, format, os, arch string) (*clientpb.Artifact, error)
- func UploadArtifact(con *core.Console, path string, name, artifactType string, comment string) (*clientpb.Artifact, error)
- func UploadArtifactCmd(cmd *cobra.Command, con *core.Console) error
- func ValidateOutputType(buildConfig *clientpb.BuildConfig, libFlag bool, libFlagChanged bool, ...) error
- func WriteOriginArtifact(con *core.Console, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArtifactShowCmd ¶ added in v0.1.1
func BeaconFlagSet ¶ added in v0.1.2
BeaconFlagSet 定义所有构建相关的flag
func BuildInputFlagSet ¶ added in v0.3.0
BuildInputFlagSet defines file input flags for beacon/bind builds. Includes all four input flags: --implant-path, --prelude-path, --resources-path, --archive-path.
func BuildModuleMaleficConfig ¶ added in v0.3.0
func CheckSource ¶ added in v0.1.2
func DeleteArtifact ¶ added in v0.1.0
func DeleteArtifactCmd ¶ added in v0.1.0
func DownloadArtifact ¶
func DownloadArtifactCmd ¶
Some optimization is needed.
func ExecuteBuild ¶ added in v0.3.0
func ExecuteBuild(con *core.Console, buildConfig *clientpb.BuildConfig) error
ExecuteBuild executes the build logic.
func GuardrailFlagSet ¶ added in v0.1.2
func ImplantInputFlagSet ¶ added in v0.3.0
ImplantInputFlagSet defines the implant-path flag for pulse builds.
func ModuleFlagSet ¶ added in v0.1.2
BeaconFlagSet 定义所有构建相关的flag
func OllvmFlagSet ¶ added in v0.1.2
func PreludeInputFlagSet ¶ added in v0.3.0
PreludeInputFlagSet defines file input flags for prelude builds. Includes --prelude-path, --resources-path, --archive-path (no --implant-path).
func ProfileDeleteCmd ¶ added in v0.1.0
func ProfileDetailCmd ¶ added in v0.3.0
func ProfileLoadCmd ¶ added in v0.1.0
func ProxyFlagSet ¶ added in v0.1.2
func PulseFlagSet ¶ added in v0.1.2
func SearchArtifact ¶ added in v0.1.0
func UploadArtifact ¶
func ValidateOutputType ¶ added in v0.3.0
func ValidateOutputType(buildConfig *clientpb.BuildConfig, libFlag bool, libFlagChanged bool, shellcodeFlag bool) error
ValidateOutputType validates output type flags and sets buildConfig.OutputType. OutputType values: "" (executable, default), "lib" (dll/so/dylib), "shellcode" (raw .bin, pulse only)
Types ¶
This section is empty.