Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekmj303 committed Dec 20, 2023
1 parent 0da56c7 commit a844d58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion harden/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import shlex
from harden import config_file, physical_ports, file_systems\
, process_hardening, apparmor, gdm, time_sync, firewall\
, network, ssh, privilege_escalation
, network, ssh, privilege_escalation, pam

def generate(backup: bool = False):
config = config_file.read()
Expand All @@ -26,6 +26,7 @@ def generate(backup: bool = False):
script += network.get_script(config)
script += ssh.get_script(config)
script += privilege_escalation.get_script(config)
script += pam.get_script(config)
return script

def save(file_path: str, backup: bool = False):
Expand Down

0 comments on commit a844d58

Please sign in to comment.