mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-30 00:35:46 +02:00
10 lines
344 B
Ruby
10 lines
344 B
Ruby
|
control "disable-firewall" do
|
||
|
title "Diable firewall"
|
||
|
desc "Disable firewall. Configuration script available at /scripts/configs/disable_firewall.bat"
|
||
|
|
||
|
# There are three profiles. None of them should be in 'on' state
|
||
|
describe command('netsh advfirewall show allprofiles state') do
|
||
|
its('stdout') { should_not match ("ON") }
|
||
|
end
|
||
|
end
|