PSAttack.PSAttackProcessing.AttackState.AttackState C# (CSharp) Method

AttackState() public method

public AttackState ( ) : System
return System
        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 = "";
        }