Fixes #463. Missing a return value in exe.rb and missing a default format in msfencode

git-svn-id: file:///home/svn/framework3/trunk@7357 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2009-11-04 21:30:00 +00:00
parent 70b2d06c86
commit 8309599ca3
2 changed files with 2 additions and 1 deletions

View File

@ -423,7 +423,7 @@ require 'rex/pescan'
vbs << "#{var_func}\r\n"
vbs << "WScript.Sleep #{delay * 1000}\r\n" if persist
vbs << "Loop\r\n" if persist
vbs
end
def self.to_win32pe_vbs(framework, code, opts={})

View File

@ -257,6 +257,7 @@ case cmd
end
end
else
fmt ||= "ruby"
if(not output)
$stdout.print(Msf::Simple::Buffer.transform(raw, fmt))
else