mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-30 00:35:46 +02:00
20 lines
469 B
Ruby
20 lines
469 B
Ruby
control "tomcat" do
|
|
title "Check tomcat installation"
|
|
desc "Check if tomcat is installed. Installation script available at /scripts/chocolatey_installs/tomcat.bat"
|
|
|
|
describe file('C:\\Program Files\\Apache Software Foundation\\tomcat') do
|
|
it { should exist }
|
|
end
|
|
|
|
describe service('Tomcat8') do
|
|
it { should be_installed }
|
|
it { should be_enabled }
|
|
it { should be_running }
|
|
end
|
|
|
|
describe port('8282') do
|
|
it { should be_listening }
|
|
end
|
|
|
|
end
|