From 5514736deb4c0ec1b4e88257c1367bd010b61cf6 Mon Sep 17 00:00:00 2001 From: sinn3r Date: Mon, 14 Oct 2013 13:13:56 -0500 Subject: [PATCH] [FixRM 8489] undefined method `empty?' for nil:NilClass in msfcli This fixes a undefined method `empty?' for nil:NilClass (NoMethodError) in msfcli. [SeeRM 8489] --- msfcli | 1 + 1 file changed, 1 insertion(+) diff --git a/msfcli b/msfcli index 7ee7088a56..fb346c1ca8 100755 --- a/msfcli +++ b/msfcli @@ -206,6 +206,7 @@ class Msfcli @args[:params].each { |args| var, val = args.split('=', 2) + next if val.nil? case var.downcase when 'payload'