mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-01 01:06:05 +02:00
14 lines
239 B
Ruby
14 lines
239 B
Ruby
control "psexec" do
|
|
title "PxExec"
|
|
desc "Checks if the ports 139 - NetBIOS and 445 - SMB are listening"
|
|
|
|
describe port('139') do
|
|
it { should be_listening }
|
|
end
|
|
|
|
describe port('445') do
|
|
it { should be_listening }
|
|
end
|
|
end
|
|
|