Remove kaslr_enabled? method

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

View File

@ -110,17 +110,6 @@ module Kernel
raise 'Could not determine userns status' raise 'Could not determine userns status'
end 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 # Returns true if Address Space Layout Randomization (ASLR) is enabled
# #