diff --git a/lib/msf/core/post/linux/kernel.rb b/lib/msf/core/post/linux/kernel.rb index a3af1cd069..1a97453d8d 100644 --- a/lib/msf/core/post/linux/kernel.rb +++ b/lib/msf/core/post/linux/kernel.rb @@ -110,17 +110,6 @@ module Kernel raise 'Could not determine userns status' end - # - # Returns true if Kernel Address Space Layout Randomization (KASLR) is enabled - # - # @return [Boolean] - # - def kaslr_enabled? - cmd_exec('cat /proc/cmdline').include? 'kaslr' - rescue - raise 'Could not determine KASLR status' - end - # # Returns true if Address Space Layout Randomization (ASLR) is enabled #