Small correction to CLI commands

This commit is contained in:
João Victor
2024-08-31 15:57:45 -03:00
parent 61108252eb
commit efb740b02c

View File

@@ -151,6 +151,8 @@ pub enum RegistryCommands {
#[derive(Subcommand)]
pub enum InjectionCommands {
/// DLL Injection
DLL {
/// The process ID to injection.
#[arg(long, short, required = true)]
@@ -165,6 +167,7 @@ pub enum InjectionCommands {
type_: Injection
},
/// Shellcode Injection
Shellcode {
/// The process ID to injection.
#[arg(long, short, required = true)]
@@ -299,7 +302,9 @@ pub enum PS_PROTECTED_TYPE {
#[derive(clap::ValueEnum, Clone, Debug, Copy)]
pub enum Injection {
/// Injection using Thread
Thread = 0,
/// Injection using APC
APC = 1,
}