From 8d6fcefccc2c507e44549d8445455a990a63bd77 Mon Sep 17 00:00:00 2001 From: OJ Date: Tue, 11 Sep 2018 13:28:33 +1000 Subject: [PATCH] Fix crash when using sessions -x --- lib/msf/base/serializer/readable_text.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/base/serializer/readable_text.rb b/lib/msf/base/serializer/readable_text.rb index 64e8f59d16..fa47ebd102 100644 --- a/lib/msf/base/serializer/readable_text.rb +++ b/lib/msf/base/serializer/readable_text.rb @@ -664,7 +664,7 @@ class ReadableText end if session.exploit_datastore && session.exploit_datastore.has_key?('LURI') && !session.exploit_datastore['LURI'].empty? - row << "(#{exploit_datastore['LURI']})" + row << "(#{session.exploit_datastore['LURI']})" else row << '?' end