metasploitable3/chef/cookbooks/metasploitable/test/windows/ftp_site.rb
2017-07-19 18:22:41 +05:30

14 lines
290 B
Ruby

control "setup-ftp-site" do
title "Setup FTP Site"
desc "Check if the FTP site is correctly configured"
describe file('C:\\Windows\\System32\\inetsrv\\config\\applicationHost.config') do
it { should exist }
end
describe port('21') do
it { should be_listening }
end
end