fix sessions -l bug

bug/bundler_fix
Rory McNamara 2015-12-15 15:13:08 +00:00 committed by Brent Cook
parent a45d0aed53
commit 63e478c826
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ class ReadableText
row << '?'
end
if !session.exploit_datastore['LURI'].empty?
if session.exploit_datastore.has_key?('LURI') and !session.exploit_datastore['LURI'].empty?
row << " (#{session.exploit_datastore['LURI']})"
else
row << '?'