Skip to content

Commit 2b9ab90

Browse files
committed
Land rapid7#4811, creds -d documentation
2 parents 9f826f4 + b8cb93d commit 2b9ab90

File tree

1 file changed

+6
-0
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+6
-0
lines changed

lib/msf/ui/console/command_dispatcher/db.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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`

0 commit comments

Comments
 (0)