Skip to content

Commit

Permalink
Fix reused flag (#48)
Browse files Browse the repository at this point in the history
Co-authored-by: liam <Liam Galvin>
  • Loading branch information
liamg authored Jul 2, 2021
1 parent 353c4ec commit 721ad3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func init() {
rootCmd.PersistentFlags().BoolVarP(&runAnyExploit, "any", "a", runAnyExploit, "Attempt to exploit a vulnerability as soon as it is detected. Provides a shell where possible.")
rootCmd.PersistentFlags().BoolVarP(&promptForPassword, "with-password", "p", promptForPassword, "Prompt for the user password, if you know it. Can provide more GTFOBins possibilities via sudo.")
rootCmd.PersistentFlags().StringVarP(&exploitName, "exploit", "e", exploitName, "Run the specified exploit, if the system is found to be vulnerable. Provides a shell where possible.")
rootCmd.PersistentFlags().StringSliceVarP(&skipExploits, "skip", "s", skipExploits, "Exploit(s) to skip - specify multiple times to skip multiple exploits.")
rootCmd.PersistentFlags().StringSliceVarP(&skipExploits, "skip", "k", skipExploits, "Exploit(s) to skip - specify multiple times to skip multiple exploits.")
}

var rootCmd = &cobra.Command{
Expand Down

0 comments on commit 721ad3a

Please sign in to comment.