1
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:
HD Moore 2009-11-03 20:00:43 +00:00
parent 83e9cf8472
commit 785ab0921d

View File

@ -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 = ""