From 74cb9c38b215a4be7f116f112dcb4a5b8b4a6302 Mon Sep 17 00:00:00 2001 From: Matthew Kienow Date: Mon, 16 Apr 2018 14:09:19 -0400 Subject: [PATCH] Change source for host address value in output --- lib/msf/ui/console/command_dispatcher/db.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/ui/console/command_dispatcher/db.rb b/lib/msf/ui/console/command_dispatcher/db.rb index 0c78f380cb..21ed00f068 100644 --- a/lib/msf/ui/console/command_dispatcher/db.rb +++ b/lib/msf/ui/console/command_dispatcher/db.rb @@ -1010,7 +1010,7 @@ class Db range.each { |addr| note = framework.db.find_or_create_note(host: addr, type: type, data: data) break if not note - print_status("Time: #{note.created_at} Note: host=#{note.host.address} type=#{note.ntype} data=#{note.data}") + print_status("Time: #{note.created_at} Note: host=#{addr} type=#{note.ntype} data=#{note.data}") } } return