From 735ccda4db3f4c17b2f29da751b4c753dcbef4e5 Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 31 Jul 2014 09:40:36 -0500 Subject: [PATCH] Add an example for add-ssh-key --- lib/msf/ui/console/command_dispatcher/db.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/msf/ui/console/command_dispatcher/db.rb b/lib/msf/ui/console/command_dispatcher/db.rb index 32f4c32ae1..f1c7cbb0fa 100644 --- a/lib/msf/ui/console/command_dispatcher/db.rb +++ b/lib/msf/ui/console/command_dispatcher/db.rb @@ -690,6 +690,8 @@ class Db print_line " creds add-ntlm alice 5cfe4c82d9ab8c66590f5b47cd6690f1:978a2e2e1dec9804c6b936f254727f9a" print_line " # Add a user with a blank password and a domain" print_line " creds add-password bob '' contosso" + print_line " # Add a user with an SSH key" + print_line " creds add-ssh-key root /root/.ssh/id_rsa" print_line end