Skip to content

Commit 460a952

Browse files
committed
Added Manifest and bug fixes to scavenger code base
1 parent 2ebd88e commit 460a952

File tree

271 files changed

+843663
-114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

271 files changed

+843663
-114
lines changed
84.5 KB
Binary file not shown.

Encrypt/bin/Debug/Encrypt.exe

0 Bytes
Binary file not shown.

Encrypt/bin/Debug/Encrypt.pdb

0 Bytes
Binary file not shown.

Encrypt/bin/Debug/Encrypt_Class.dll

0 Bytes
Binary file not shown.

Encrypt/bin/Debug/Encrypt_Class.pdb

0 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15a79d169f85a7b6832316c484969a78d4d49bbc
1+
df040c962b30720bc0eecedc6c4f5c5e2dd95751

Encrypt/obj/Debug/Encrypt.csproj.FileListAbsolute.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@ C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt\obj\Debug\Encrypt.csproj.CoreCompil
88
C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt\obj\Debug\Encrypt.csproj.CopyComplete
99
C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt\obj\Debug\Encrypt.exe
1010
C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt\obj\Debug\Encrypt.pdb
11+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\bin\Debug\Encrypt.exe.config
12+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\bin\Debug\Encrypt.exe
13+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\bin\Debug\Encrypt.pdb
14+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\bin\Debug\Encrypt_Class.dll
15+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\bin\Debug\Encrypt_Class.pdb
16+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\obj\Debug\Encrypt.csprojAssemblyReference.cache
17+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\obj\Debug\Encrypt.csproj.CoreCompileInputs.cache
18+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\obj\Debug\Encrypt.csproj.CopyComplete
19+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\obj\Debug\Encrypt.exe
20+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt\obj\Debug\Encrypt.pdb
Binary file not shown.

Encrypt/obj/Debug/Encrypt.exe

0 Bytes
Binary file not shown.

Encrypt/obj/Debug/Encrypt.pdb

0 Bytes
Binary file not shown.

Encrypt_Class/Encrypt_Class.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<Private>True</Private>
4040
<Private>True</Private>
4141
</Reference>
42-
<Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
43-
<HintPath>..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
42+
<Reference Include="System.Runtime, Version=4.1.1.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
43+
<HintPath>..\packages\System.Runtime.4.3.1\lib\net462\System.Runtime.dll</HintPath>
4444
<Private>True</Private>
4545
<Private>True</Private>
4646
</Reference>
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6c07011ba80b9f9cc65da46380ca06443865b2a8
1+
2658ddeb29c77434adc6c0f3c6938ff95c2452d1

Encrypt_Class/obj/Debug/Encrypt_Class.csproj.FileListAbsolute.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,12 @@ C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt_Class\obj\Debug\Encrypt_Class.cspro
77
C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt_Class\obj\Debug\Encrypt_Class.dll
88
C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt_Class\obj\Debug\Encrypt_Class.pdb
99
C:\Users\dahodge\Desktop\MIM_Auditor\Encrypt_Class\obj\Debug\Encrypt_Class.csproj.AssemblyReference.cache
10+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\bin\Debug\Encrypt_Class.dll
11+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\bin\Debug\Encrypt_Class.pdb
12+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\bin\Debug\System.Security.Cryptography.Cng.dll
13+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\bin\Debug\System.Security.Cryptography.Cng.xml
14+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\obj\Debug\Encrypt_Class.csprojAssemblyReference.cache
15+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\obj\Debug\Encrypt_Class.csproj.CoreCompileInputs.cache
16+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\obj\Debug\Encrypt_Class.csproj.CopyComplete
17+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\obj\Debug\Encrypt_Class.dll
18+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\Encrypt_Class\obj\Debug\Encrypt_Class.pdb
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Encrypt_Class/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="System.IO" version="4.3.0" targetFramework="net472" />
4-
<package id="System.Runtime" version="4.3.0" targetFramework="net472" />
4+
<package id="System.Runtime" version="4.3.1" targetFramework="net472" />
55
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net472" />
66
<package id="System.Security.Cryptography.Cng" version="5.0.0" targetFramework="net472" />
77
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net472" />

EventLogExtractorConsole/EventLogExtractorConsole.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<ErrorReport>prompt</ErrorReport>
5353
<WarningLevel>4</WarningLevel>
5454
</PropertyGroup>
55+
<PropertyGroup />
5556
<ItemGroup>
5657
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
5758
<HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dc76460c6e3090b02dae0695c56b223a0190348c
1+
d24093e17dbb6e415a77dd1be921ae88804a89ba

EventLogExtractorConsole/obj/Debug/EventLogExtractorConsole.csproj.FileListAbsolute.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,13 @@ C:\Users\dahodge\Desktop\MIM_Auditor\EventLogExtractorConsole\obj\Debug\EventLog
1717
C:\Users\dahodge\Desktop\MIM_Auditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.csproj.CopyComplete
1818
C:\Users\dahodge\Desktop\MIM_Auditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.exe
1919
C:\Users\dahodge\Desktop\MIM_Auditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.pdb
20+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\bin\Debug\EventLogExtractorConsole.exe.config
21+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\bin\Debug\EventLogExtractorConsole.exe
22+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\bin\Debug\EventLogExtractorConsole.pdb
23+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\bin\Debug\Newtonsoft.Json.dll
24+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\bin\Debug\Newtonsoft.Json.xml
25+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.csprojAssemblyReference.cache
26+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.csproj.CoreCompileInputs.cache
27+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.csproj.CopyComplete
28+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.exe
29+
C:\Users\dhodge-admin\Source\Repos\DaveHodgeDev\MIMAuditor\EventLogExtractorConsole\obj\Debug\EventLogExtractorConsole.pdb
Binary file not shown.
Binary file not shown.

MCS.EventLogMonitor.WindowsService/EventLogAgentService.cs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.ComponentModel;
3+
//using System.ComponentModel;
44
using System.Diagnostics;
55
using System.Linq;
66
using System.ServiceProcess;
77
using System.Text;
88
using System.Text.RegularExpressions;
99
//using System.Threading.Tasks;
1010
using System.Diagnostics.Eventing.Reader;
11-
using MCS.EventLogMonitor;
12-
13-
11+
//using MCS.EventLogMonitor;
1412

1513
namespace MCS.EventLogMonitor.WindowsService
1614
{
@@ -20,8 +18,6 @@ public partial class EventLogAgentService : ServiceBase
2018

2119
public static EventLogMonitorConfig Config { get; set; }
2220

23-
//private EventLogWatcher watcher;
24-
2521
public EventLogAgentService()
2622
{
2723
InitializeComponent();
@@ -30,7 +26,6 @@ public EventLogAgentService()
3026

3127
protected override void OnStart(string[] args)
3228
{
33-
3429
//*************************************************************************************
3530
// EventLog - name of this applications event log
3631
//*************************************************************************************
@@ -79,7 +74,6 @@ private static void Watcher_EventRecordWritten(object sender, EventRecordWritten
7974

8075
EventRecord entry = e.EventRecord;
8176

82-
8377
string message = entry.FormatDescription();
8478

8579
//#region construct log base structure
@@ -93,8 +87,7 @@ private static void Watcher_EventRecordWritten(object sender, EventRecordWritten
9387
EventId = entry.Id,
9488
// User = entry.UserName
9589
};
96-
97-
90+
9891
//#endregion
9992

10093
try

MCS.EventLogMonitor.WindowsService/MCS.EventLogMonitor.WindowsService.csproj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,36 @@
5252
<ErrorReport>prompt</ErrorReport>
5353
<WarningLevel>4</WarningLevel>
5454
</PropertyGroup>
55+
<PropertyGroup>
56+
<ApplicationManifest>app.manifest</ApplicationManifest>
57+
</PropertyGroup>
5558
<ItemGroup>
5659
<Reference Include="System" />
5760
<Reference Include="System.Configuration" />
5861
<Reference Include="Microsoft.CSharp" />
62+
<Reference Include="System.Configuration.ConfigurationManager, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
63+
<HintPath>..\packages\System.Configuration.ConfigurationManager.7.0.0\lib\net462\System.Configuration.ConfigurationManager.dll</HintPath>
64+
</Reference>
5965
<Reference Include="System.Configuration.Install" />
66+
<Reference Include="System.Data.OracleClient" />
6067
<Reference Include="System.Management" />
68+
<Reference Include="System.Net" />
69+
<Reference Include="System.Security" />
70+
<Reference Include="System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
71+
<HintPath>..\packages\System.Security.AccessControl.6.0.0\lib\net461\System.Security.AccessControl.dll</HintPath>
72+
</Reference>
73+
<Reference Include="System.Security.Permissions, Version=7.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
74+
<HintPath>..\packages\System.Security.Permissions.7.0.0\lib\net462\System.Security.Permissions.dll</HintPath>
75+
</Reference>
76+
<Reference Include="System.Security.Principal.Windows, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
77+
<HintPath>..\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll</HintPath>
78+
</Reference>
6179
<Reference Include="System.ServiceProcess" />
80+
<Reference Include="System.Transactions" />
6281
<Reference Include="System.Web.Extensions" />
6382
<Reference Include="System.Windows.Forms" />
6483
<Reference Include="System.Xml" />
84+
<Reference Include="WindowsBase" />
6585
</ItemGroup>
6686
<ItemGroup>
6787
<Compile Include="EventLogAgentService.cs">
@@ -81,7 +101,9 @@
81101
</ItemGroup>
82102
<ItemGroup>
83103
<None Include="App.config" />
104+
<None Include="app.manifest" />
84105
<None Include="ClassDiagram1.cd" />
106+
<None Include="packages.config" />
85107
</ItemGroup>
86108
<ItemGroup>
87109
<BootstrapperPackage Include=".NETFramework,Version=v4.8">
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3+
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
4+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
5+
<security>
6+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
7+
<!-- UAC Manifest Options
8+
If you want to change the Windows User Account Control level replace the
9+
requestedExecutionLevel node with one of the following.
10+
11+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
12+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
13+
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
14+
15+
Specifying requestedExecutionLevel element will disable file and registry virtualization.
16+
Remove this element if your application requires this virtualization for backwards
17+
compatibility.
18+
-->
19+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
20+
</requestedPrivileges>
21+
</security>
22+
</trustInfo>
23+
24+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
25+
<application>
26+
<!-- A list of the Windows versions that this application has been tested on
27+
and is designed to work with. Uncomment the appropriate elements
28+
and Windows will automatically select the most compatible environment. -->
29+
30+
<!-- Windows Vista -->
31+
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
32+
33+
<!-- Windows 7 -->
34+
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
35+
36+
<!-- Windows 8 -->
37+
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
38+
39+
<!-- Windows 8.1 -->
40+
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
41+
42+
<!-- Windows 10 -->
43+
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
44+
45+
</application>
46+
</compatibility>
47+
48+
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
49+
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
50+
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
51+
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
52+
<!--
53+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
54+
<windowsSettings>
55+
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
56+
</windowsSettings>
57+
</application>
58+
-->
59+
60+
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
61+
<!--
62+
<dependency>
63+
<dependentAssembly>
64+
<assemblyIdentity
65+
type="win32"
66+
name="Microsoft.Windows.Common-Controls"
67+
version="6.0.0.0"
68+
processorArchitecture="*"
69+
publicKeyToken="6595b64144ccf1df"
70+
language="*"
71+
/>
72+
</dependentAssembly>
73+
</dependency>
74+
-->
75+
76+
</assembly>
Binary file not shown.
Binary file not shown.
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<startup>
4-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
55
</startup>
66
<appSettings>
7-
<add key="debug" value="yes" />
8-
<add key="logName" value="Identity Manager Request Log" />
9-
<add key="logFile" value="C:\Program Files\Microsoft\MIM Auditor\Logs\logOutput.txt" />
10-
<add key="jsonFileDirectory" value="C:\Program Files\Microsoft\MIM Auditor\Requests" />
11-
<add key="certificate" value="localhost" />
12-
<add key="workspaceId" value="1" />
13-
<add key="workspaceKey" value="Rd7xRfXmEcuGp1UEc1TThX62pyXfWApmjRi+hYP11nVjAJvgd54AlD+fB3SzwDYvMDrZk+ZIFagwAysK5g9AWinK723XdASvSd9padU/3bTouJAqtpPaX3iLKkqPELAkGI9gltKa8pno0RhH524KubwY5JZTUx5MIl6YDBYAuljmaUpQPJYF4+EMUxFLKy9smVC7Ke9+FpWzlslcx6qJuiN2G8sAIzRr1RJJu1eItmO1eVC9h1RIQMkeR6/5PUHL8yd1PCD/eRR6yd1mjuZs1jJXX1cRZSRsdqJJPU+QdVLDOXjLmSLOMvBEuNdn1IAfxGmMTs8GyLeNC/+AWwnUSQ==" />
14-
<add key="workspaceLogName" value="MIMHybrid" />
7+
<add key="debug" value="yes"/>
8+
<add key="logName" value="Identity Manager Request Log"/>
9+
<add key="logFile" value="C:\Program Files\Microsoft\MIM Auditor\Logs\logOutput.txt"/>
10+
<add key="jsonFileDirectory" value="C:\Program Files\Microsoft\MIM Auditor\Requests"/>
11+
<add key="certificate" value="localhost"/>
12+
13+
<add key="workspaceId" value=""/>
14+
<add key="workspaceKey" value=""/>
15+
<add key="workspaceLogName" value="MIMHybrid"/>
1516
</appSettings>
16-
</configuration>
17+
</configuration>
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)