Skip to content

Commit

Permalink
changing nil datatype to string datatype for the column display
Browse files Browse the repository at this point in the history
  • Loading branch information
manishkumarr1017 committed May 19, 2023
1 parent df4a5b9 commit bd9591f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/msf/ui/console/command_dispatcher/creds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ def creds_search(*args)
rhosts << host unless host.blank?
service_info = build_service_info(service)
end

cracked_password_val = cracked_password_core&.private&.data.to_s
tbl << [
host,
origin,
Expand All @@ -505,7 +505,7 @@ def creds_search(*args)
realm_val,
human_val, #private type
jtr_val,
cracked_password_core&.private&.data
cracked_password_val
]
end
end
Expand Down

0 comments on commit bd9591f

Please sign in to comment.