Skip to content

Commit 9786f84

Browse files
committed
Service exes
1 parent 9ea17ef commit 9786f84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/util/exe.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2011,7 +2011,7 @@ def self.to_executable_fmt(framework, arch, plat, code, fmt, exeopts)
20112011
when ARCH_X64 then to_win64pe(framework, code, exeopts)
20122012
end
20132013

2014-
when 'exe'
2014+
when 'exe-service'
20152015
output = case arch
20162016
when ARCH_X86,nil then to_win32pe_service(framework, code, exeopts)
20172017
when ARCH_X86_64 then to_win64pe_service(framework, code, exeopts)
@@ -2092,7 +2092,7 @@ def self.to_executable_fmt(framework, arch, plat, code, fmt, exeopts)
20922092

20932093
def self.to_executable_fmt_formats
20942094
[
2095-
'dll','exe','exe-small','exe-only','elf','macho','vba','vba-exe',
2095+
'dll','exe','exe-service','exe-small','exe-only','elf','macho','vba','vba-exe',
20962096
'vbs','loop-vbs','asp','aspx','war','psh','psh-net'
20972097
]
20982098
end

0 commit comments

Comments
 (0)