File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -674,6 +674,7 @@ def cmd_creds_help
674674 print_line "General options"
675675 print_line " -h,--help Show this help information"
676676 print_line " -o <file> Send output to a file in csv format"
677+ print_line " -d Delete one or more credentials"
677678 print_line
678679 print_line "Filter options for listing"
679680 print_line " -P,--password <regex> List passwords that match this regex"
@@ -701,6 +702,11 @@ def cmd_creds_help
701702 print_line " # Add a user with an SSH key"
702703 print_line " creds add-ssh-key root /root/.ssh/id_rsa"
703704 print_line
705+
706+ print_line "Example, deleting:"
707+ print_line " # Delete all SMB credentials"
708+ print_line " creds -d -s smb"
709+ print_line
704710 end
705711
706712 # @param private_type [Symbol] See `Metasploit::Credential::Creation#create_credential`
You can’t perform that action at this time.
0 commit comments