public AttackState()
{
// init host and runspace
this.host = new PSAttackHost();
Runspace runspace = RunspaceFactory.CreateRunspace(this.host);
runspace.Open();
this.runspace = runspace;
this.history = new List<string>();
this.decryptedStore = new Dictionary<string, string>();
// hack to keep cmd from being null. others parts of psa don't appreciate that.
this.cmd = "";
this.displayCmd = "";
}