@@ -66,7 +66,7 @@ def self.to_executable(framework, arch, plat, code='', opts={})
66
66
if ( arch . index ( ARCH_X86 ) )
67
67
68
68
if ( plat . index ( Msf ::Module ::Platform ::Windows ) )
69
- return to_win32pe_only ( framework , code , opts )
69
+ return to_win32pe ( framework , code , opts )
70
70
end
71
71
72
72
if ( plat . index ( Msf ::Module ::Platform ::Linux ) )
@@ -928,7 +928,7 @@ def self.to_vba(framework,code,opts={})
928
928
end
929
929
930
930
def self . to_win32pe_vba ( framework , code , opts = { } )
931
- to_exe_vba ( to_win32pe_only ( framework , code , opts ) )
931
+ to_exe_vba ( to_win32pe ( framework , code , opts ) )
932
932
end
933
933
934
934
def self . to_exe_vbs ( exes = '' , opts = { } )
@@ -1196,15 +1196,15 @@ def self.to_win32pe_psh(framework, code, opts={})
1196
1196
end
1197
1197
1198
1198
def self . to_win32pe_vbs ( framework , code , opts = { } )
1199
- to_exe_vbs ( to_win32pe_only ( framework , code , opts ) , opts )
1199
+ to_exe_vbs ( to_win32pe ( framework , code , opts ) , opts )
1200
1200
end
1201
1201
1202
1202
def self . to_win32pe_asp ( framework , code , opts = { } )
1203
- to_exe_asp ( to_win32pe_only ( framework , code , opts ) , opts )
1203
+ to_exe_asp ( to_win32pe ( framework , code , opts ) , opts )
1204
1204
end
1205
1205
1206
1206
def self . to_win32pe_aspx ( framework , code , opts = { } )
1207
- to_exe_aspx ( to_win32pe_only ( framework , code , opts ) , opts )
1207
+ to_exe_aspx ( to_win32pe ( framework , code , opts ) , opts )
1208
1208
end
1209
1209
1210
1210
# Creates a jar file that drops the provided +exe+ into a random file name
@@ -1932,7 +1932,7 @@ def self.to_executable_fmt(framework, arch, plat, code, fmt, exeopts)
1932
1932
output = Msf ::Util ::EXE . to_vba ( framework , code , exeopts )
1933
1933
1934
1934
when 'vba-exe'
1935
- exe = Msf ::Util ::EXE . to_win32pe_only ( framework , code , exeopts )
1935
+ exe = Msf ::Util ::EXE . to_win32pe ( framework , code , exeopts )
1936
1936
output = Msf ::Util ::EXE . to_exe_vba ( exe )
1937
1937
1938
1938
when 'vbs'
0 commit comments