I don't have a lot of free time and one thing that gets tiring is repeating steps on a machine required to get back to where you left off last time. This is where scripting one's access seems to make sense. Does anyone do this? I'm largely interested in how you do it when one of the steps involves a reverse shell, as typically this requires multiple terminal windows when doing it manually or, better yet, when you have to trigger a reverse shell from within another reverse shell.
I'd also love to be linked to anything you might think relevant.