Skip to content

Commit

Permalink
Fixes ProcessCreationFlags typo (#552)
Browse files Browse the repository at this point in the history
Fixes the typo in the enum value for CreateProtectedProcess. This should
not affect any callers as creating a protected process is impossible
without having a signed binary from Microsoft, it's merely done to
ensure the value names are aligned properly.
  • Loading branch information
jborean93 authored Sep 12, 2023
1 parent 8190c42 commit 052ef99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/process-creationflags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Process.cs - Fix up the ``ProcessCreationFlags.CreateProtectedProcess`` typo in the enum name
2 changes: 1 addition & 1 deletion plugins/module_utils/Process.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public enum ProcessCreationFlags : uint
AboveNormalPriorityClass = 0x00008000,
InheritParentAffinity = 0x00010000,
InheritCallerPriority = 0x00020000,
CreateProctectedProcess = 0x00040000,
CreateProtectedProcess = 0x00040000,
ExtendedStartupInfoPresent = 0x00080000,
ProcessModeBackgroundBegin = 0x00100000,
ProcessModeBackgroundEnd = 0x00200000,
Expand Down

0 comments on commit 052ef99

Please sign in to comment.