metasploitable3/chef/cookbooks/metasploitable/test/windows/wordpress.rb
2017-07-07 17:50:21 +05:30

22 lines
540 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 command('netstat -aob | findstr :8585') do
its('stdout') { should match ("LISTENING") }
end
end