Skip to content

Commit cf8854b

Browse files
committed
Land rapid7#8252, Msf::Util::EXE loop-vbs double var fix
2 parents 601131c + 484a545 commit cf8854b

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
@@ -2143,7 +2143,7 @@ def self.to_executable_fmt(framework, arch, plat, code, fmt, exeopts)
21432143
exe = to_executable_fmt(framework, arch, plat, code, 'exe-small', exeopts)
21442144
Msf::Util::EXE.to_exe_vbs(exe, exeopts.merge({ :persist => false }))
21452145
when 'loop-vbs'
2146-
exe = exe = to_executable_fmt(framework, arch, plat, code, 'exe-small', exeopts)
2146+
exe = to_executable_fmt(framework, arch, plat, code, 'exe-small', exeopts)
21472147
Msf::Util::EXE.to_exe_vbs(exe, exeopts.merge({ :persist => true }))
21482148
when 'jsp'
21492149
arch ||= [ ARCH_X86 ]

0 commit comments

Comments
 (0)