mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-06 11:42:35 +02:00
10 lines
195 B
Ruby
10 lines
195 B
Ruby
|
control "winrm" do
|
||
|
title "WinRM"
|
||
|
desc "Checks if the port 5985 is listening"
|
||
|
|
||
|
describe command('netstat -aob | findstr :5985') do
|
||
|
its('stdout') { should match ("LISTENING") }
|
||
|
end
|
||
|
|
||
|
end
|