Skip to content

Commit 735ccda

Browse files
committed
Add an example for add-ssh-key
1 parent 77d99b7 commit 735ccda

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,8 @@ def cmd_creds_help
690690
print_line " creds add-ntlm alice 5cfe4c82d9ab8c66590f5b47cd6690f1:978a2e2e1dec9804c6b936f254727f9a"
691691
print_line " # Add a user with a blank password and a domain"
692692
print_line " creds add-password bob '' contosso"
693+
print_line " # Add a user with an SSH key"
694+
print_line " creds add-ssh-key root /root/.ssh/id_rsa"
693695
print_line
694696
end
695697

0 commit comments

Comments
 (0)