Undo mixin modification
parent
2ae23bbe99
commit
cf9d53fb50
|
@ -18,7 +18,6 @@ module Msf::HTTP::JBoss::BeanShell
|
||||||
end
|
end
|
||||||
|
|
||||||
packages.each do |p|
|
packages.each do |p|
|
||||||
print_status("Attempting to use '#{p}' as package")
|
|
||||||
if deploy_package(bsh_script, p)
|
if deploy_package(bsh_script, p)
|
||||||
return p
|
return p
|
||||||
end
|
end
|
||||||
|
@ -35,6 +34,7 @@ module Msf::HTTP::JBoss::BeanShell
|
||||||
def deploy_package(bsh_script, package)
|
def deploy_package(bsh_script, package)
|
||||||
success = false
|
success = false
|
||||||
|
|
||||||
|
print_status("Attempting to use '#{package}' as package")
|
||||||
res = invoke_bsh_script(bsh_script, package)
|
res = invoke_bsh_script(bsh_script, package)
|
||||||
|
|
||||||
if res.nil?
|
if res.nil?
|
||||||
|
|
Loading…
Reference in New Issue