metasploitable3/chef/cookbooks/metasploitable/test/windows/axis2.rb
2017-07-06 08:55:40 +05:30

17 lines
470 B
Ruby

control "axis2" do
title "Axis 2"
desc "Check if Axis 2 webapp is installed. Installation script available at /scripts/installs/setup_axis2.bat"
describe file('C:\\axis2') do
it { should_not exist }
end
describe file('C:\\Program Files\\Apache Software Foundation\\tomcat\\apache-tomcat-8.5.12\\webapps\\axis2') do
it { should exist }
end
describe command('netstat -aob | findstr :8282') do
its('stdout') { should match "LISTENING" }
end
end