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
|
||||
|
||||
def self.to_exe_vbs(exes = '', opts={})
|
||||
opts[:delay] ||= 5
|
||||
opts[:persist] ||= false
|
||||
|
||||
delay = opts[:delay]
|
||||
persist = opts[:persist]
|
||||
delay = opts[:delay] || 5
|
||||
persist = opts[:persist] || false
|
||||
|
||||
exe = exes.unpack('C*')
|
||||
vbs = ""
|
||||
|
Loading…
Reference in New Issue
Block a user