Skip to content

Commit 525b3a6

Browse files
author
Jared Haight
committed
Updates
1 parent d53db85 commit 525b3a6

File tree

6 files changed

+9
-23
lines changed

6 files changed

+9
-23
lines changed

PSAttack/PSAttackProcessing/AttackState.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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 = "";

PSAttack/Program.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
{

PSAttack/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
using System.Runtime.CompilerServices;
33
using 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.
@@ -32,5 +34,5 @@
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")]

PSAttack/Resources/BuildDate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Sunday, August 21, 2016 at 6:06:45 PM
1+
Sunday, August 21, 2016 at 6:17:16 PM

PSAttack/Resources/attackDate.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
August 21 2016 at 12:05:12 PM
1+
placeholder

PSAttack/Strings.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff 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 \nError message:\n\n{0}\n";
122108
public static string welcomeMessage = "Welcome to PS>Attack! This is version {0}. \n{1}\nFor help getting started, run 'get-attack'\n";
123109
}

0 commit comments

Comments
 (0)