Class: Ardecy::Harden::Sysctl::Network::DefaultSecureRedirects
Instance Method Summary collapse
-
#initialize(args) ⇒ DefaultSecureRedirects
constructor
A new instance of DefaultSecureRedirects.
Methods inherited from SysNet
Methods inherited from SysKern
Methods included from Display
#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title
Constructor Details
#initialize(args) ⇒ DefaultSecureRedirects
Returns a new instance of DefaultSecureRedirects.
98 99 100 101 102 103 |
# File 'lib/ardecy/harden/sysctl/network.rb', line 98 def initialize(args) @file = '/proc/sys/net/ipv4/conf/default/secure_redirects' @line = 'net.ipv4.conf.default.secure_redirects' @tab = 1 super end |