mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-01 01:06:05 +02:00
Updated rails_service.rb
This commit is contained in:
parent
6acb359c09
commit
06cba9d340
|
@ -10,11 +10,12 @@ control "rails_service" do
|
||||||
it { should exist }
|
it { should exist }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('netstat -aob | findstr :3000') do
|
describe port('3000') do
|
||||||
its('stdout') { should match "LISTENING" }
|
it { should be_listening }
|
||||||
end
|
end
|
||||||
|
|
||||||
describe command('schtasks /Query /tn rails') do
|
describe windows_task('rails') do
|
||||||
its('stdout') { should match "Ready" }
|
it { should exist }
|
||||||
|
it { should be_enabled }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user