mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-04 02:35:58 +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
|