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