mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-09-21 00:01:14 +02:00
126949ce19
This reverts commit 50a8a91c71
.
19 lines
465 B
Ruby
19 lines
465 B
Ruby
# # encoding: utf-8
|
|
|
|
# Inspec test for recipe metasploitable::default
|
|
|
|
# The Inspec reference, with examples and extensive documentation, can be
|
|
# found at http://inspec.io/docs/reference/resources/
|
|
|
|
unless os.windows?
|
|
describe user('root') do
|
|
it { should exist }
|
|
skip 'This is an example test, replace with your own test.'
|
|
end
|
|
end
|
|
|
|
describe port(80) do
|
|
it { should_not be_listening }
|
|
skip 'This is an example test, replace with your own test.'
|
|
end
|