Skip to content

Commit

Permalink
Added submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Cx01N committed Jun 24, 2024
1 parent e533508 commit aff049d
Show file tree
Hide file tree
Showing 13 changed files with 3,614 additions and 14 deletions.
2 changes: 1 addition & 1 deletion EmpireCompiler/Core/Compiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static class Compiler
public class CompilationRequest
{
public EmpireCompiler.Models.Grunts.ImplantLanguage Language { get; set; } = Models.Grunts.ImplantLanguage.CSharp;
public Platform Platform { get; set; } = Platform.AnyCpu;
public Platform Platform { get; set; } = Platform.X64;
}

public class CsharpCompilationRequest : CompilationRequest
Expand Down
3,599 changes: 3,599 additions & 0 deletions EmpireCompiler/Data/ReferenceSourceLibraries/CSharpPy/CSharpPy.cs

Large diffs are not rendered by default.

Submodule ProcessInjection updated 29 files
+1 −1 ProcessInjection/App.config
+0 −185 ProcessInjection/DInvoke/Injection/APCQueue.cs
+0 −134 ProcessInjection/DInvoke/Injection/CreateRemoteThread.cs
+0 −136 ProcessInjection/DInvoke/Injection/DLLInjection.cs
+0 −148 ProcessInjection/DInvoke/Injection/DynamicPPIDSpoofing.cs
+0 −558 ProcessInjection/DInvoke/Injection/DynamicProcessHollowing.cs
+0 −32 ProcessInjection/DInvoke/Native/Constants.cs
+0 −371 ProcessInjection/DInvoke/Native/Delegates.cs
+0 −915 ProcessInjection/DInvoke/Native/DynamicInvoke.cs
+0 −615 ProcessInjection/DInvoke/Native/Enum.cs
+0 −311 ProcessInjection/DInvoke/Native/Native.cs
+0 −335 ProcessInjection/DInvoke/Native/PE.cs
+0 −175 ProcessInjection/DInvoke/Native/Structs.cs
+0 −57 ProcessInjection/DInvoke/Native/Utils.cs
+96 −0 ProcessInjection/DynamicInvoke.cs
+0 −56 ProcessInjection/PInvoke/Injection/APCQueue.cs
+0 −56 ProcessInjection/PInvoke/Injection/CreateRemoteThread.cs
+0 −57 ProcessInjection/PInvoke/Injection/DLLInjection.cs
+0 −95 ProcessInjection/PInvoke/Injection/PPIDSpoofing.cs
+0 −330 ProcessInjection/PInvoke/Injection/ProcessHollowing.cs
+0 −34 ProcessInjection/PInvoke/Native/Constants.cs
+0 −88 ProcessInjection/PInvoke/Native/Enums.cs
+0 −97 ProcessInjection/PInvoke/Native/Structs.cs
+0 −102 ProcessInjection/PInvoke/Native/Win32API.cs
+2 −52 ProcessInjection/ProcessInjection.csproj
+1,014 −106 ProcessInjection/Program.cs
+0 −58 ProcessInjection/Utils/Crypto.cs
+0 −93 ProcessInjection/Utils/Utils.cs
+2 −11 README.md
2 changes: 1 addition & 1 deletion EmpireCompiler/Data/ReferenceSourceLibraries/Rubeus
Submodule Rubeus updated 136 files
2 changes: 1 addition & 1 deletion EmpireCompiler/Data/ReferenceSourceLibraries/SharpDPAPI
Submodule SharpDPAPI updated 43 files
+0 −1 .gitignore
+0 −132 CHANGELOG.md
+152 −368 README.md
+1 −7 SharpChrome/Commands/Backupkey.cs
+23 −77 SharpChrome/Commands/Cookies.cs
+22 −71 SharpChrome/Commands/Logins.cs
+0 −96 SharpChrome/Commands/Statekeys.cs
+0 −1 SharpChrome/Domain/CommandCollection.cs
+19 −26 SharpChrome/Domain/Info.cs
+12 −110 SharpChrome/Program.cs
+0 −13 SharpChrome/SharpChrome.csproj
+0 −3 SharpChrome/app.config
+11 −6 SharpChrome/lib/Bcrypt.cs
+164 −446 SharpChrome/lib/Chrome.cs
+289 −0 SharpDPAPI.cna
+1 −7 SharpDPAPI/Commands/Backupkey.cs
+12 −29 SharpDPAPI/Commands/Blob.cs
+30 −148 SharpDPAPI/Commands/Certificate.cs
+10 −17 SharpDPAPI/Commands/Credentials.cs
+0 −98 SharpDPAPI/Commands/Keepass.cs
+34 −0 SharpDPAPI/Commands/MachineCertificates.cs
+0 −1 SharpDPAPI/Commands/Machinetriage.cs
+33 −69 SharpDPAPI/Commands/Masterkeys.cs
+10 −23 SharpDPAPI/Commands/PS.cs
+10 −17 SharpDPAPI/Commands/RDG.cs
+0 −362 SharpDPAPI/Commands/SCCM.cs
+0 −360 SharpDPAPI/Commands/Search.cs
+12 −22 SharpDPAPI/Commands/Triage.cs
+10 −17 SharpDPAPI/Commands/Vaults.cs
+1 −3 SharpDPAPI/Domain/CommandCollection.cs
+10 −37 SharpDPAPI/Domain/Info.cs
+1 −1 SharpDPAPI/Domain/Version.cs
+12 −104 SharpDPAPI/Program.cs
+2 −9 SharpDPAPI/SharpDPAPI.csproj
+1 −7 SharpDPAPI/app.config
+8 −15 SharpDPAPI/lib/Backup.cs
+0 −505 SharpDPAPI/lib/Bkrp.cs
+0 −30 SharpDPAPI/lib/Certificate.cs
+99 −161 SharpDPAPI/lib/Crypto.cs
+586 −1,171 SharpDPAPI/lib/Dpapi.cs
+3 −88 SharpDPAPI/lib/Helpers.cs
+0 −57 SharpDPAPI/lib/Interop.cs
+558 −682 SharpDPAPI/lib/Triage.cs
2 changes: 1 addition & 1 deletion EmpireCompiler/Data/ReferenceSourceLibraries/SharpSploit
Submodule SharpSploit updated 37 files
+0 −17 CHANGELOG.md
+0 −39 SharpSploit.Tests/SharpSploit.Tests/Enumeration/ClipboardTests.cs
+0 −34 SharpSploit.Tests/SharpSploit.Tests/Enumeration/HostTests.cs
+0 −20 SharpSploit.Tests/SharpSploit.Tests/Evasion/AmsiTests.cs
+0 −20 SharpSploit.Tests/SharpSploit.Tests/Evasion/ETWTests.cs
+28 −82 SharpSploit.Tests/SharpSploit.Tests/Execution/Injection/InjectionTests.cs
+0 −24 SharpSploit.Tests/SharpSploit.Tests/Execution/ManualMap/MapTests.cs
+0 −25 SharpSploit.Tests/SharpSploit.Tests/Execution/ShellTests.cs
+0 −4 SharpSploit.Tests/SharpSploit.Tests/SharpSploit.Tests.csproj
+51 −61 SharpSploit/Credentials/Mimikatz.cs
+0 −112 SharpSploit/Enumeration/Clipboard.cs
+1 −7 SharpSploit/Enumeration/Domain.cs
+6 −229 SharpSploit/Enumeration/Host.cs
+31 −62 SharpSploit/Enumeration/Keylogger.cs
+0 −58 SharpSploit/Evasion/ETW.cs
+7 −13 SharpSploit/Execution/DynamicInvoke/Generic.cs
+6 −6 SharpSploit/Execution/DynamicInvoke/Native.cs
+0 −68 SharpSploit/Execution/DynamicInvoke/Win32.cs
+81 −3 SharpSploit/Execution/Injection/Allocation.cs
+0 −104 SharpSploit/Execution/Injection/AllocationTechnique.cs
+1 −1 SharpSploit/Execution/Injection/Execution.cs
+0 −0 SharpSploit/Execution/Injection/Payload.cs
+0 −150 SharpSploit/Execution/Injection/VirtualAllocAllocationTechnique.cs
+2 −37 SharpSploit/Execution/ManualMap/Map.cs
+9 −30 SharpSploit/Execution/ManualMap/Overload.cs
+0 −376 SharpSploit/Execution/ManualMap/PE.cs
+686 −0 SharpSploit/Execution/PE.cs
+1 −48 SharpSploit/Execution/PlatformInvoke/Win32.cs
+0 −103 SharpSploit/Execution/Shell.cs
+13 −125 SharpSploit/Execution/Win32.cs
+0 −13 SharpSploit/Misc/Utilities.cs
+ SharpSploit/Resources/powerkatz_x64.dll
+ SharpSploit/Resources/powerkatz_x64.dll.comp
+ SharpSploit/Resources/powerkatz_x86.dll
+ SharpSploit/Resources/powerkatz_x86.dll.comp
+3 −16 SharpSploit/SharpSploit - Quick Command Reference.md
+139 −340 SharpSploit/SharpSploit.xml
7 changes: 4 additions & 3 deletions EmpireCompiler/EmpireCompiler.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<Compile Remove="Controllers\**" />
<Compile Remove="Data\Grunt\**" />
<Compile Remove="Data\Tasks\**" />
<Compile Remove="Data\ReferenceSourceLibraries\**" />
<Compile Remove="Data\Downloads\**" />
<Compile Remove="Hubs\**" />
<Compile Remove="Data\ReferenceSourceLibraries\**" />
<Compile Remove="Hubs\**" />
<Compile Remove="Models\Covenant\**" />
<Compile Remove="Models\Indicators\**" />
<Compile Remove="Models\Launchers\**" />
Expand Down Expand Up @@ -56,7 +56,8 @@
<None Remove="Data\Tasks\CSharp\**" />
<None Remove="Data\Downloads\**" />
<None Remove="Data\Temp\**" />
<None Remove="Hubs\**" />
<None Remove="Data\ReferenceSourceLibraries\**" />
<None Remove="Hubs\**" />
<None Remove="Models\Covenant\**" />
<None Remove="Models\Indicators\**" />
<None Remove="Models\Launchers\**" />
Expand Down
2 changes: 1 addition & 1 deletion EmpireCompiler/Models/Module/GruntTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private void CompileDotNet40()
UnsafeCompile = this.UnsafeCompile,
// TODO: Add debug option
// OutputKind = OutputKind.ConsoleApplication,
OutputKind = OutputKind.WindowsApplication,
OutputKind = OutputKind.ConsoleApplication,
Confuse = this.Confuse,
// TODO: Fix optimization to work with GhostPack. It also doesn't work with Sharpire. Not sure if this actuall works with anything...
Optimize = !this.ReferenceSourceLibraries.Select(RSL => RSL.Name).Contains("Seatbelt")
Expand Down

0 comments on commit aff049d

Please sign in to comment.