Undo mixin modification

bug/bundler_fix
jvazquez-r7 2014-10-27 18:09:03 -05:00
parent 2ae23bbe99
commit cf9d53fb50
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,6 @@ module Msf::HTTP::JBoss::BeanShell
end
packages.each do |p|
print_status("Attempting to use '#{p}' as package")
if deploy_package(bsh_script, p)
return p
end
@ -35,6 +34,7 @@ module Msf::HTTP::JBoss::BeanShell
def deploy_package(bsh_script, package)
success = false
print_status("Attempting to use '#{package}' as package")
res = invoke_bsh_script(bsh_script, package)
if res.nil?