Merge pull request #1531 from audibleblink/fix/migrate-cli

no positional arg needed
This commit is contained in:
Joe
2023-12-30 12:13:58 -06:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -387,8 +387,8 @@ Shellcode files should be binary encoded, you can generate Sliver shellcode file
generate --format shellcode
`
migrateHelp = `[[.Bold]]Command:[[.Normal]] migrate <pid>
[[.Bold]]About:[[.Normal]] (Windows Only) Migrates into the process designated by <pid>.`
migrateHelp = `[[.Bold]]Command:[[.Normal]] migrate <flags>
[[.Bold]]About:[[.Normal]] (Windows Only) Migrates into the process designated by <flags>.`
websitesHelp = `[[.Bold]]Command:[[.Normal]] websites <options> <operation>
[[.Bold]]About:[[.Normal]] Add content to HTTP(S) C2 websites to make them look more legit.
-1
View File
@@ -604,7 +604,6 @@ func SliverCommands(con *client.SliverConsoleClient) console.Commands {
Use: consts.MigrateStr,
Short: "Migrate into a remote process",
Long: help.GetHelpFor([]string{consts.MigrateStr}),
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
exec.MigrateCmd(cmd, con, args)
},