diff --git a/lib/msf/ui/console/command_dispatcher/creds.rb b/lib/msf/ui/console/command_dispatcher/creds.rb index a38ab83317..0c96933d6f 100644 --- a/lib/msf/ui/console/command_dispatcher/creds.rb +++ b/lib/msf/ui/console/command_dispatcher/creds.rb @@ -428,7 +428,7 @@ class Creds matched_cred_ids << core.id public_val = core.public ? core.public.username : "" - private_val = core.private ? core.private.data : "" + private_val = core.private ? core.private.to_s : "" realm_val = core.realm ? core.realm.value : "" human_val = core.private ? core.private.class.model_name.human : "" @@ -463,7 +463,7 @@ class Creds matched_cred_ids << core.id public_val = core.public ? core.public.username : "" - private_val = core.private ? core.private.data : "" + private_val = core.private ? core.private.to_s : "" realm_val = core.realm ? core.realm.value : "" human_val = core.private ? core.private.class.model_name.human : ""