Skip to content

Commit

Permalink
inital commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan committed Jul 30, 2021
0 parents commit 2a564b1
Show file tree
Hide file tree
Showing 57 changed files with 1,704 additions and 0 deletions.
Binary file added ADCSPwn/.vs/ADCSPwn/v16/.suo
Binary file not shown.
72 changes: 72 additions & 0 deletions ADCSPwn/ADCSPwn.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="packages\ILMerge.3.0.41\build\ILMerge.props" Condition="Exists('packages\ILMerge.3.0.41\build\ILMerge.props')" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{980EF05F-87D1-4A0A-932A-582FB1BC3AC3}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ADCSPwn</RootNamespace>
<AssemblyName>ADCSPwn</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
<HintPath>packages\BouncyCastle.1.8.9\lib\BouncyCastle.Crypto.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.DirectoryServices" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Config.cs" />
<Compile Include="EFSTrigger.cs" />
<Compile Include="RelayServer.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TemplateHunter.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('packages\ILMerge.3.0.41\build\ILMerge.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\ILMerge.3.0.41\build\ILMerge.props'))" />
<Error Condition="!Exists('packages\dnMerge.0.5.13\build\dnMerge.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\dnMerge.0.5.13\build\dnMerge.targets'))" />
</Target>
<Import Project="packages\dnMerge.0.5.13\build\dnMerge.targets" Condition="Exists('packages\dnMerge.0.5.13\build\dnMerge.targets')" />
</Project>
25 changes: 25 additions & 0 deletions ADCSPwn/ADCSPwn.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30717.126
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ADCSPwn", "ADCSPwn.csproj", "{980EF05F-87D1-4A0A-932A-582FB1BC3AC3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{980EF05F-87D1-4A0A-932A-582FB1BC3AC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{980EF05F-87D1-4A0A-932A-582FB1BC3AC3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{980EF05F-87D1-4A0A-932A-582FB1BC3AC3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{980EF05F-87D1-4A0A-932A-582FB1BC3AC3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7FB2236B-91A0-40A2-B28D-523E47B1D98D}
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions ADCSPwn/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
21 changes: 21 additions & 0 deletions ADCSPwn/Config.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.IO;

namespace ADCSPwn
{
class Config
{
public static int port = 8080;
public static string machine = "localhost";
public static string adcs = "";
public static string banner = @"
_____ ________ _________ ___________________
/ _ \ \______ \ \_ ___ \ / _____/\______ \__ _ ______
/ /_\ \ | | \/ \ \/ \_____ \ | ___/\ \/ \/ / \
/ | \| ` \ \____/ \ | | \ / | \
\____|__ /_______ /\______ /_______ / |____| \/\_/|___| /
\/ \/ \/ \/ \/
";
}
}
Loading

0 comments on commit 2a564b1

Please sign in to comment.