Remove selinux_enforcing? method

GSoC/Meterpreter_Web_Console
Brendan Coles 2018-04-16 12:16:00 +00:00
parent 5bc24d048c
commit f3ee870d72
1 changed files with 0 additions and 12 deletions

View File

@ -178,18 +178,6 @@ module Kernel
rescue
raise 'Could not determine SELinux status'
end
#
# Returns true if SELinux is in enforcing mode
#
# @return [Boolean]
#
def selinux_enforcing?
cmd_exec('/usr/sbin/getenforce').to_s.include? 'Enforcing'
rescue
raise 'Could not determine SELinux encforcing status'
end
end # Kernel
end # Linux
end # Post