今天学C#,尝试写点东西,哈哈~
我是API控!
using System;
using System.Runtime.InteropServices;
namespace Dangerous
{
static class Program
{
[DllImport("NTDLL")]
private static extern void RtlAdjustPrivilege(int Privilege, int NewValue, int NewThread, out int OldValue);
[DllImport("NTDLL")]
private static extern void NtShutdownSystem(int Action);
[STAThread]
static void Main()
{
int i;
RtlAdjustPrivilege(19, 1, 0, out i);
NtShutdownSystem(1);
}
}
}
功能不解释 ^_^

博客不孬,有机会会常来看看的,留个脚印先
提权,关机
很邪恶!
很喜欢恶搞啊!
>.<
搞搞更健康~~~