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
674
674
print_line "General options"
675
675
print_line " -h,--help Show this help information"
676
676
print_line " -o <file> Send output to a file in csv format"
677
+ print_line " -d Delete one or more credentials"
677
678
print_line
678
679
print_line "Filter options for listing"
679
680
print_line " -P,--password <regex> List passwords that match this regex"
@@ -701,6 +702,11 @@ def cmd_creds_help
701
702
print_line " # Add a user with an SSH key"
702
703
print_line " creds add-ssh-key root /root/.ssh/id_rsa"
703
704
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
704
710
end
705
711
706
712
# @param private_type [Symbol] See `Metasploit::Credential::Creation#create_credential`
You can’t perform that action at this time.
0 commit comments