mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-04 18:55:48 +02:00
22 lines
540 B
Ruby
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
|