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