metasploitable3/chef/cookbooks/metasploitable/test/windows/webdav.rb

23 lines
510 B
Ruby
Raw Normal View History

2017-07-06 05:25:40 +02:00
control "webdav" do
title "WebDAV"
desc "Check if WebDAV is correctly installed. Installation script available at /scripts/installs/setup_webdav.bat"
describe file('C:\\wamp\\www\\uploads') do
it { should exist }
end
describe file('C:\\wamp\\alias\\httpd-dav.conf') do
it { should exist }
end
2017-07-19 14:52:41 +02:00
describe service('wampapache') do
it { should be_installed }
it { should be_enabled }
it { should be_running }
2017-07-06 05:25:40 +02:00
end
2017-07-19 14:52:41 +02:00
describe port('8585') do
it { should be_listening }
2017-07-06 05:25:40 +02:00
end
end