From a4ad7de4e05000f6d17964b463a9c6ea3eff298e Mon Sep 17 00:00:00 2001 From: William Vu Date: Mon, 26 Mar 2018 17:56:44 -0500 Subject: [PATCH] Use a better error in scriptable sessions --- lib/msf/base/sessions/scriptable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/base/sessions/scriptable.rb b/lib/msf/base/sessions/scriptable.rb index 7c0b1e3798..afa5b40e48 100644 --- a/lib/msf/base/sessions/scriptable.rb +++ b/lib/msf/base/sessions/scriptable.rb @@ -165,7 +165,7 @@ module Scriptable full_path = self.class.find_script_path(script_name) if full_path.nil? - print_error("The specified script could not be found: #{script_name}") + print_error("The specified #{self.type} session script could not be found: #{script_name}") return end