Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes #463. Missing a return value in exe.rb and missing a default fo…

…rmat in msfencode

git-svn-id: file:///home/svn/framework3/trunk@7357 4d416f70-5f16-0410-b530-b9f4589650da
  • Loading branch information...
commit 8309599ca3799eefc78719e69a6c06c774a12c6d 1 parent 70b2d06
@hmoore-r7 hmoore-r7 authored
Showing with 2 additions and 1 deletion.
  1. +1 −1  lib/msf/util/exe.rb
  2. +1 −0  msfencode
View
2  lib/msf/util/exe.rb
@@ -423,7 +423,7 @@ def self.to_exe_vbs(exes = '', opts={})
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
1  msfencode
@@ -257,6 +257,7 @@ case cmd
end
end
else
+ fmt ||= "ruby"
if(not output)
$stdout.print(Msf::Simple::Buffer.transform(raw, fmt))
else
Please sign in to comment.
Something went wrong with that request. Please try again.