Skip to content

Commit

Permalink
add overwrite flag back into upload cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Sto committed Apr 18, 2024
1 parent 61210ac commit fd17c4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/command/filesystem/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func Commands(con *console.SliverClient) []*cobra.Command {
flags.Bind("", false, uploadCmd, func(f *pflag.FlagSet) {
f.BoolP("ioc", "i", false, "track uploaded file as an ioc")
f.Int64P("timeout", "t", flags.DefaultTimeout, "grpc timeout in seconds")
f.BoolP("overwrite", "o", false, "overwrite file if it exists")
})
carapace.Gen(uploadCmd).PositionalCompletion(
carapace.ActionFiles().Usage("local path to the file to upload"),
Expand Down

0 comments on commit fd17c4e

Please sign in to comment.