mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
Clean up argument passing, cosmetic
git-svn-id: file:///home/svn/framework3/trunk@7338 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
83e9cf8472
commit
785ab0921d
@ -370,11 +370,8 @@ require 'rex/pescan'
|
|||||||
end
|
end
|
||||||
|
|
||||||
def self.to_exe_vbs(exes = '', opts={})
|
def self.to_exe_vbs(exes = '', opts={})
|
||||||
opts[:delay] ||= 5
|
delay = opts[:delay] || 5
|
||||||
opts[:persist] ||= false
|
persist = opts[:persist] || false
|
||||||
|
|
||||||
delay = opts[:delay]
|
|
||||||
persist = opts[:persist]
|
|
||||||
|
|
||||||
exe = exes.unpack('C*')
|
exe = exes.unpack('C*')
|
||||||
vbs = ""
|
vbs = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user