Skip to content

Instantly share code, notes, and snippets.

@ahmed-bacha
Created September 15, 2016 07:45
Show Gist options
  • Save ahmed-bacha/65704ec7512e3de6a240106b9a709898 to your computer and use it in GitHub Desktop.
Save ahmed-bacha/65704ec7512e3de6a240106b9a709898 to your computer and use it in GitHub Desktop.
Inspec check for Telnetd
# Disallow insecure protocols by testing
describe package('telnetd') do
it { should_not be_installed }
end
describe inetd_conf do
its("telnet") { should eq nil }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment