metasploitable3/chef/cookbooks/metasploitable/test/windows/devkit.rb
2017-07-06 08:55:40 +05:30

17 lines
479 B
Ruby

control "devkit" do
title "Rails Server - DevKit"
desc "Check if the rails server has installed along with devkit. Check the installation script at /scripts/installs/install_devkit.bat"
describe file('C:\\Program Files\\Rails_Server') do
it { should exist }
end
describe file('C:\\Program Files\\Rails_Server\\devkit') do
it { should exist }
end
describe command('netstat -aob | findstr :3000') do
its('stdout') { should match ("LISTENING") }
end
end