Ejemplo n.º 1
0
        public static void a()
        {
            pwnagebot.GameInterface.Frameworks.a.a A_2_1 = new pwnagebot.GameInterface.Frameworks.a.a();
            pwnagebot.GameInterface.Frameworks.a.b A_2_2 = new pwnagebot.GameInterface.Frameworks.a.b();
            int A_2_3 = 0;

            pwnagebot.GameInterface.Frameworks.a.OpenProcessToken(pwnagebot.GameInterface.Frameworks.a.GetCurrentProcess(), 40, ref A_2_3);
            pwnagebot.GameInterface.Frameworks.a.LookupPrivilegeValue((string)null, "SeDebugPrivilege", ref A_2_2);
            A_2_1.c = 1;
            A_2_1.b = 2;
            A_2_1.a = A_2_2;
            pwnagebot.GameInterface.Frameworks.a.AdjustTokenPrivileges(A_2_3, 0, ref A_2_1, 1024, 0, 0);
        }
Ejemplo n.º 2
0
 private static extern int LookupPrivilegeValue(string A_0, string A_1, [MarshalAs(UnmanagedType.Struct)] ref pwnagebot.GameInterface.Frameworks.a.b A_2);