Skip to content

Commit

Permalink
Add password auditing project from https://github.com/MichaelGrafnett…
Browse files Browse the repository at this point in the history
  • Loading branch information
fullmetalcache committed Sep 15, 2017
1 parent b537617 commit 97733ee
Show file tree
Hide file tree
Showing 873 changed files with 184,061 additions and 257 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Build/bin/Release/DSInternals/amd64/msvcp140.dll
Binary file not shown.
Binary file not shown.
50 changes: 0 additions & 50 deletions CredDefense.sln

This file was deleted.

Binary file removed CredDefense/bin/Debug/CredDefense.vshost.exe
Binary file not shown.
6 changes: 0 additions & 6 deletions CredDefense/bin/Debug/CredDefense.vshost.exe.config

This file was deleted.

11 changes: 0 additions & 11 deletions CredDefense/bin/Debug/CredDefense.vshost.exe.manifest

This file was deleted.

Binary file removed CredDefense/bin/Release/CredDefense.pdb
Binary file not shown.
24 changes: 0 additions & 24 deletions CredDefense/bin/Release/CredDefense.vshost.exe.config

This file was deleted.

11 changes: 0 additions & 11 deletions CredDefense/bin/Release/CredDefense.vshost.exe.manifest

This file was deleted.

Binary file removed EPF/builds/x64/EasyPasswordFilter.dll
Binary file not shown.
Binary file removed EPF/builds/x64/EasyPasswordFilter.exp
Binary file not shown.
Binary file removed EPF/builds/x64/EasyPasswordFilter.iobj
Binary file not shown.
Binary file removed EPF/builds/x64/EasyPasswordFilter.ipdb
Binary file not shown.
Binary file removed EPF/builds/x64/EasyPasswordFilter.lib
Binary file not shown.
Binary file removed EPF/builds/x64/EasyPasswordFilter.pdb
Binary file not shown.
Binary file removed EPF/builds/x86/EasyPasswordFilter.exp
Binary file not shown.
Binary file removed EPF/builds/x86/EasyPasswordFilter.iobj
Binary file not shown.
Binary file removed EPF/builds/x86/EasyPasswordFilter.ipdb
Binary file not shown.
Binary file removed EPF/builds/x86/EasyPasswordFilter.lib
Binary file not shown.
Binary file removed EPF/builds/x86/EasyPasswordFilter.pdb
Binary file not shown.
Binary file added Keys/DSInternals.Public.snk
Binary file not shown.
24 changes: 24 additions & 0 deletions Keys/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
DSInternals PowerShell Module
=============================

Strong Name Key Files
---------------------

The DSInternals.Public.snk file contains the public key that can be used to verify
the strong name signature of the official binaries.

The corresponding private key, contained in the DSInternals.Private.snk file,
is not publicly available. If you want to strong sign the resulting assemblies,
you have to generate your own key pair.

Signing Policy
--------------

Signing policy is controlled by the Common.props file for all projects. The default behavior is as follows:
- The strong name key signing is only performed during a Release build.
- If the private key is not present, only delayed signing is performed.

Generating a Custom Key Pair
----------------------------

A custom key pair can be generated using the sn.exe tool.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2015 Michael Grafnetter

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
6 changes: 6 additions & 0 deletions Src/.nuget/NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
</configuration>
Binary file added Src/.vs/CredDefense/v14/.suo
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
 64 bit Processing .\drsr.idl
drsr.idl
64 bit Processing C:\Program Files (x86)\Windows Kits\8.1\Include\shared\wtypesbase.idl
wtypesbase.idl
64 bit Processing C:\Program Files (x86)\Windows Kits\8.1\Include\shared\basetsd.h
basetsd.h
64 bit Processing C:\Program Files (x86)\Windows Kits\8.1\Include\shared\guiddef.h
guiddef.h
64 bit Processing .\drsr_imports.idl
drsr_imports.idl
stdafx.cpp
AssemblyInfo.cpp
DrsConnection.cpp
drsr_addons.cpp
drsr_alloc.cpp
midl_alloc.cpp
RpcTypeConverter.cpp
Generating Code...
drsr.cpp
.NETFramework,Version=v4.5.1.AssemblyAttributes.cpp
LINK : /LTCG specified but no code generation required; remove /LTCG from the link command line to improve linker performance
DSInternals.Replication.Interop.vcxproj -> C:\Users\fmc\Source\Repos\creddefense\Src\\..\Build\bin\Release\DSInternals\amd64\DSInternals.Replication.Interop.dll
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\redist\x64\Microsoft.VC140.CRT\msvcp140.dll
1 File(s) copied
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\\redist\x64\Microsoft.VC140.CRT\vcruntime140.dll
1 File(s) copied
29 changes: 29 additions & 0 deletions Src/Configuration/Common.csproj.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file contains settings that are common for all C# projects. -->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Common.props" />
<!-- Output Directory Paths -->
<PropertyGroup>
<OutputPath>$(BinPath)</OutputPath>
<IntermediateOutputPath>$(ObjPath)</IntermediateOutputPath>
</PropertyGroup>
<!-- Strong Name Signing -->
<PropertyGroup>
<SignAssembly>$(DoSign)</SignAssembly>
<DelaySign>$(PerformDelaySign)</DelaySign>
<AssemblyOriginatorKeyFile>$(SigningKeyPath)</AssemblyOriginatorKeyFile>
</PropertyGroup>
<!-- Only add the PDB files in Debug Configuration -->
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugType>none</DebugType>
<AllowedReferenceRelatedFileExtensions>none</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugType>full</DebugType>
<AllowedReferenceRelatedFileExtensions>.pdb</AllowedReferenceRelatedFileExtensions>
</PropertyGroup>
<!-- Only run code analysis manually -->
<PropertyGroup>
<RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup>
</Project>
30 changes: 30 additions & 0 deletions Src/Configuration/Common.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file contains settings that are common for all projects. -->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- Common project output path -->
<BuildPath>$(SolutionDir)\..\Build</BuildPath>
<BinPath>$(BuildPath)\bin\$(Configuration)\DSInternals</BinPath>
<ObjPath>$(BuildPath)\obj\$(Configuration)\$(MSBuildProjectName)</ObjPath>
</PropertyGroup>
<PropertyGroup>
<!-- Create hard links instead of copying referenced NuGet packages. -->
<CreateHardLinksIfPossible>true</CreateHardLinksIfPossible>
<CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>true</CreateHardLinksForCopyFilesToOutputDirectoryIfPossible>
<CreateHardLinksForCopyAdditionalFilesIfPossible>true</CreateHardLinksForCopyAdditionalFilesIfPossible>
<CreateHardLinksForCopyLocalIfPossible>true</CreateHardLinksForCopyLocalIfPossible>
<CreateHardLinksForPublishFilesIfPossible>true</CreateHardLinksForPublishFilesIfPossible>
</PropertyGroup>
<PropertyGroup>
<!-- Signing configuration -->
<DoSign Condition=" '$(Configuration)'=='Release' ">true</DoSign>
<DoSign Condition=" '$(Configuration)'=='Debug' ">false</DoSign>
<KeyPath>$(SolutionDir)\..\Keys</KeyPath>
<PublicKeyPath>$(KeyPath)\DSInternals.Public.snk</PublicKeyPath>
<PrivateKeyPath>$(KeyPath)\DSInternals.Private.snk</PrivateKeyPath>
<PerformDelaySign Condition=" !Exists('$(PrivateKeyPath)') ">true</PerformDelaySign>
<PerformDelaySign Condition=" Exists('$(PrivateKeyPath)') ">false</PerformDelaySign>
<SigningKeyPath Condition=" '$(PerformDelaySign)' == 'true' ">$(PublicKeyPath)</SigningKeyPath>
<SigningKeyPath Condition=" '$(PerformDelaySign)' == 'false' ">$(PrivateKeyPath)</SigningKeyPath>
</PropertyGroup>
</Project>
22 changes: 22 additions & 0 deletions Src/Configuration/Common.vcxproj.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file contains settings that are common for all C++ projects. -->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="Common.props" />
<!-- Output Paths -->
<PropertyGroup>
<!--
We need to rename platform to match the values that are used in the PROCESSOR_ARCHITECTURE environment variable.
-->
<TargetProcessorArchitecture Condition=" '$(Platform)'=='x64' ">amd64</TargetProcessorArchitecture>
<TargetProcessorArchitecture Condition=" '$(Platform)'=='Win32' ">x86</TargetProcessorArchitecture>
</PropertyGroup>
<PropertyGroup>
<OutDir>$(BinPath)\$(TargetProcessorArchitecture)\</OutDir>
<IntDir>$(ObjPath)\$(TargetProcessorArchitecture)\</IntDir>
</PropertyGroup>
<!-- Strong Name Signing -->
<PropertyGroup Condition=" '$(DoSign)'=='true' ">
<LinkKeyFile>$(SigningKeyPath)</LinkKeyFile>
<LinkDelaySign>$(PerformDelaySign)</LinkDelaySign>
</PropertyGroup>
</Project>
4 changes: 4 additions & 0 deletions Src/Configuration/CommonAssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using System.Reflection;

[assembly: AssemblyProduct("DSInternals PowerShell Module")]
[assembly: AssemblyCopyright("Copyright © 2015-2017 Michael Grafnetter. All rights reserved.")]
4 changes: 4 additions & 0 deletions Src/Configuration/CommonAssemblyInfo.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
using namespace System::Reflection;

[assembly:AssemblyProductAttribute(L"DSInternals PowerShell Module")];
[assembly:AssemblyCopyrightAttribute(L"Copyright © 2015-2017 Michael Grafnetter. All rights reserved.")];
10 changes: 10 additions & 0 deletions Src/Configuration/Local.testsettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<TestSettings
id="b8968a45-0b6a-40a9-bcf7-7573da114965"
name="MSTest"
enableDefaultDataCollectors="false"
xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
<Description>These are default test settings for a local test run.</Description>
<!-- Do not copy DLLs to deployment directory. -->
<Deployment enabled="false" />
</TestSettings>
Loading

0 comments on commit 97733ee

Please sign in to comment.