metasploitable3/chef/cookbooks/metasploitable/test/windows/psexec.rb

14 lines
239 B
Ruby
Raw Normal View History

2017-07-07 15:16:43 +02:00
control "psexec" do
title "PxExec"
desc "Checks if the ports 139 - NetBIOS and 445 - SMB are listening"
2017-07-19 14:52:41 +02:00
describe port('139') do
it { should be_listening }
2017-07-07 15:16:43 +02:00
end
2017-07-19 14:52:41 +02:00
describe port('445') do
it { should be_listening }
2017-07-07 15:16:43 +02:00
end
end