stronghold
stronghold copied to clipboard
Reduced code reuse for lockdown method
#61 I tried to clean up a little bit, let me know if this is what you had in mind. I can make more changes if required.
I meant something more along the lines of defining methods that perform actions, such as:
def disable_sshd():
sp.run whatever
And then calling that in the lockdown and interactive sequences instead of the literal subprocess command.