Land #11434, Fix #11433 creds command bug

GSoC/Meterpreter_Web_Console
Jeffrey Martin 2019-02-19 10:11:46 -06:00
commit f4f03b6e92
No known key found for this signature in database
GPG Key ID: 0CD9BBC2AF15F171
1 changed files with 5 additions and 1 deletions

View File

@ -505,7 +505,11 @@ class Creds
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 : ""
jtr_val = core.private.jtr_format ? core.private.jtr_format : ""
if human_val == ""
jtr_val = "" #11433, private can be nil
else
jtr_val = core.private.jtr_format ? core.private.jtr_format : ""
end
row += [
public_val,