-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Issue 1
Memory leak due to missing call to Marshal.FreeHGlobal for TokenInformation.
| IntPtr TokenInformation = Marshal.AllocHGlobal(TokenInfLength); |
Issue 2
I also think you should add SeManageVolumePrivilege to the specialPrivileges list.
See (https://twitter.com/0gtweet/status/1303427935647531018)
var specialPrivileges = new List<string>()
{
"SeSecurityPrivilege",
"SeTakeOwnershipPrivilege",
"SeLoadDriverPrivilege",
"SeBackupPrivilege",
"SeRestorePrivilege",
"SeDebugPrivilege",
"SeSystemEnvironmentPrivilege",
"SeImpersonatePrivilege",
+ "SeManageVolumePrivilege",
"SeTcbPrivilege"
};| var specialPrivileges = new List<string>() |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels