Skip to content

Commit 409f2bd

Browse files
committed
Agh, didn't mean to enable that
It's never worked
1 parent ec7a07e commit 409f2bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/util/exe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def self.to_win64pe_dll(framework, code, opts = {})
641641
opts[:exe_type] = :dll
642642

643643
if opts[:inject]
644-
self.to_win64pe(framework, code, opts)
644+
raise RuntimeError, 'Template injection unsupported for x64 DLLs'
645645
else
646646
exe_sub_method(code,opts)
647647
end

0 commit comments

Comments
 (0)