Skip to content

Commit 34b1bf2

Browse files
Remove build artifacts from PowerForensicsv2 module directory
1 parent cd4e82d commit 34b1bf2

15 files changed

+10
-20
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

PowerForensics/PowerForensicsv2.csproj

+10-13
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>PowerForensicsv2</RootNamespace>
1111
<AssemblyName>PowerForensicsv2</AssemblyName>
12-
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<TargetFrameworkProfile />
1515
</PropertyGroup>
@@ -20,25 +20,16 @@
2020
<OutputPath>Module\PowerForensicsv2\</OutputPath>
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
<FrameworkPathOverride>C:\Windows\system32\DotNetCore\v1.0\</FrameworkPathOverride>
23+
<WarningLevel>2</WarningLevel>
2524
</PropertyGroup>
2625
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2726
<DebugType>pdbonly</DebugType>
2827
<Optimize>true</Optimize>
29-
<OutputPath>bin\Release\</OutputPath>
28+
<OutputPath>Module\PowerForensicsv2\</OutputPath>
3029
<DefineConstants>TRACE</DefineConstants>
3130
<ErrorReport>prompt</ErrorReport>
32-
<WarningLevel>4</WarningLevel>
33-
<FrameworkPathOverride>C:\Windows\system32\DotNetCore\v1.0\</FrameworkPathOverride>
31+
<WarningLevel>2</WarningLevel>
3432
</PropertyGroup>
35-
<ItemGroup>
36-
<Reference Include="System" />
37-
<Reference Include="System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
38-
<SpecificVersion>False</SpecificVersion>
39-
<HintPath>..\..\..\..\..\..\..\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0\System.Management.Automation.dll</HintPath>
40-
</Reference>
41-
</ItemGroup>
4233
<ItemGroup>
4334
<Compile Include="src\Artifacts\Windows\ApplicationCompatibilityCache\RecentFileCache.cs" />
4435
<Compile Include="src\Artifacts\Windows\JavaCache.cs" />
@@ -170,6 +161,12 @@
170161
<Compile Include="src\Helper\NativeMethods.cs" />
171162
<Compile Include="Properties\AssemblyInfov2.cs" />
172163
</ItemGroup>
164+
<ItemGroup>
165+
<Reference Include="System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
166+
<SpecificVersion>False</SpecificVersion>
167+
<HintPath>..\..\..\..\..\..\Windows\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll</HintPath>
168+
</Reference>
169+
</ItemGroup>
173170
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
174171
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
175172
Other similar extension points exist, see Microsoft.Common.targets.

PowerForensics/src/Artifacts/Windows/SoftwareHive/NetworkList.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Text;
33
using System.Collections.Generic;
4-
using System.Net.NetworkInformation;
54
using PowerForensics.Registry;
65

76
namespace PowerForensics.Artifacts

PowerForensics/src/Helper/Helper.cs

-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ public static class Helper
99
{
1010
#region Helper Functions
1111

12-
public static bool testRegex(string volume)
13-
{
14-
System.Text.RegularExpressions.Regex regex = new System.Text.RegularExpressions.Regex(@"^(\\\\\.\\)?[A-Zaz]:$");
15-
return regex.IsMatch(volume);
16-
}
17-
1812
internal static string getVolumeName(ref string volume)
1913
{
2014
if (volume == null)

0 commit comments

Comments
 (0)