From 2ea875d30469fab298010cfd5f7b6ee9c337cdaa Mon Sep 17 00:00:00 2001 From: scriptjunkie Date: Mon, 9 Apr 2018 22:01:49 -0500 Subject: [PATCH] Fix issue preventing psexec against non-powershell targets --- lib/msf/util/exe.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/msf/util/exe.rb b/lib/msf/util/exe.rb index 15864d2f2e..fb694cdc2d 100644 --- a/lib/msf/util/exe.rb +++ b/lib/msf/util/exe.rb @@ -20,6 +20,7 @@ require 'metasm' require 'digest/sha1' require 'msf/core/exe/segment_injector' require 'msf/core/exe/segment_appender' +require 'msf/core/payload_generator' # Generates a default template #