mirror of
https://github.com/MrAle98/sliver
synced 2026-06-08 11:54:46 +00:00
Merge pull request #1531 from audibleblink/fix/migrate-cli
no positional arg needed
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user