File tree Expand file tree Collapse file tree 6 files changed +9
-23
lines changed
Expand file tree Collapse file tree 6 files changed +9
-23
lines changed Original file line number Diff line number Diff line change @@ -161,12 +161,11 @@ public AttackState()
161161 {
162162 // init host and runspace
163163 this . host = new PSAttackHost ( ) ;
164- this . decryptedStore = new Dictionary < string , string > ( ) ;
165164 Runspace runspace = RunspaceFactory . CreateRunspace ( this . host ) ;
166165 runspace . Open ( ) ;
167166 this . runspace = runspace ;
168- // init history
169167 this . history = new List < string > ( ) ;
168+ this . decryptedStore = new Dictionary < string , string > ( ) ;
170169 // hack to keep cmd from being null. others parts of psa don't appreciate that.
171170 this . cmd = "" ;
172171 this . displayCmd = "" ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ static AttackState PSInit()
4444 }
4545 }
4646
47- // amsi bypass (thanks matt!)
47+ // amsi bypass (thanks matt!! )
4848 if ( Environment . OSVersion . Version . Major > 9 )
4949 {
5050 try
@@ -59,7 +59,6 @@ static AttackState PSInit()
5959 }
6060
6161 // Decrypt modules
62-
6362 string [ ] resources = assembly . GetManifestResourceNames ( ) ;
6463 foreach ( string resource in resources )
6564 {
Original file line number Diff line number Diff line change 22using System . Runtime . CompilerServices ;
33using System . Runtime . InteropServices ;
44
5+ using PSAttack ;
6+
57// General Information about an assembly is controlled through the following
68// set of attributes. Change these attribute values to modify the information
79// associated with an assembly.
3234// You can specify all the values or you can default the Build and Revision Numbers
3335// by using the '*' as shown below:
3436// [assembly: AssemblyVersion("1.0.*")]
35- [ assembly: AssemblyVersion ( "1.6 .0.0" ) ]
36- [ assembly: AssemblyFileVersion ( "1.6 .0.0" ) ]
37+ [ assembly: AssemblyVersion ( "0.0 .0.0" ) ]
38+ [ assembly: AssemblyFileVersion ( "0.0 .0.0" ) ]
Original file line number Diff line number Diff line change 1- Sunday, August 21, 2016 at 6:06:45 PM
1+ Sunday, August 21, 2016 at 6:17:16 PM
Original file line number Diff line number Diff line change 1- August 21 2016 at 12:05:12 PM
1+ placeholder
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace PSAttack
77{
88 class Strings
99 {
10- public static string version = "1.6" ;
10+ public static string version = "1.6.0 " ;
1111 public static string windowTitle = "PSAttack!!" ;
1212 public static List < string > psaLogos = new List < string > ( ) {
1313@"
@@ -103,21 +103,7 @@ ___ ___ ___ ___ ___ ___
103103 _| _____/ _/ _/ _\ \__| \__| \__,_| \___| _|\_\ _)
104104
105105" } ;
106- // public static string warning = @"
107- // ############################################################
108- // # #
109- // # PLEASE NOTE: This is an Release Candidate of PS>Attack #
110- // # Things might be buggy. If you find something that's #
111- // # broken please submit an issue at #
112- // # https://github.com/jaredhaight/psattack/issues #
113- // # or even better, submit a pull request! :-D #
114- // # #
115- // # For more info view the release notes at #
116- // # https://www.github.com/jaredhaight/psattack/releases #
117- // # #
118- // ############################################################
119106
120- //";
121107 public static string moduleLoadError = "There was an error loading this module \n Error message:\n \n {0}\n " ;
122108 public static string welcomeMessage = "Welcome to PS>Attack! This is version {0}. \n {1}\n For help getting started, run 'get-attack'\n " ;
123109 }
You can’t perform that action at this time.
0 commit comments