mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-30 00:35:46 +02:00
9 lines
403 B
Ruby
9 lines
403 B
Ruby
control "password-settings" do
|
|
title "Password settings"
|
|
desc "Check if the password settings are correctly configured. Configuration script available at /scripts/configs/apply_password_settings.bat"
|
|
|
|
describe command('secedit /analyze /db %windir%\securitynew.sdb /cfg C:\vagrant\resources\security_settings\secconfig.cfg /areas SECURITYPOLICY') do
|
|
its(:exit_status) { should eq 1 }
|
|
end
|
|
end
|