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

22 lines
495 B
Ruby

control "wordpress" do
title "Check WordPress Installation"
desc "Checks the wordpress installation. Setup script available in /scripts/installs/install_wordpress.bat"
describe file('C:\\Program Files\\wordpress') do
it { should exist }
end
describe file('C:\\Program Files\\wordpress\\update_ip.ps1') do
it { should exist }
end
describe file('C:\\wamp\\www\\wordpress') do
it { should exist }
end
describe port('8585') do
it { should be_listening }
end
end