Skip to content

Instantly share code, notes, and snippets.

@71
71 / keybase.md
Last active November 5, 2018 17:52

Keybase proof

I hereby claim:

  • I am 71 on github.
  • I am 71 (https://keybase.io/71) on keybase.
  • I have a public key ASBQya_3rkXhK63rxpae_sICqJTKCqbm5aUgYjseLWoycQo

To claim this, I am signing this object:

@71
71 / SystemProgram.cs
Last active July 30, 2016 18:30
Program.cs file that is guaranteed to execute with SYSTEM rights, thanks to MS16-032. Works with .NET 3.5+.
namespace SystemApp
{
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Threading;
using System;
using System.Reflection;
/*
______ _____ _____ _____ _ _ ___________ _____
| ___ \ ___/ ___|_ _| | | || ___| ___ \ _ |
| |_/ / |__ \ `--. | | | |_| || |__ | |_/ / | | |
| /| __| `--. \ | | | _ || __|| /| | | |
| |\ \| |___/\__/ / | | | | | || |___| |\ \\ \_/ /
\_| \_\____/\____/ \_/ \_| |_/\____/\_| \_|\___/
/*
______ _ _ _ _____ _ _ ___________ ___ ______ _____ ___________
| ___| | | | | | ___| \ | |_ _| ___ \/ _ \ | ___ \/ ___| ___| ___ \
| |_ | | | | | | |__ | \| | | | | |_/ / /_\ \| |_/ /\ `--.| |__ | |_/ /
| _| | | | | | | __|| . ` | | | | __/| _ || / `--. \ __|| /
| | | |___| |_| | |___| |\ | | | | | | | | || |\ \ /\__/ / |___| |\ \
\_| \_____/\___/\____/\_| \_/ \_/ \_| \_| |_/\_| \_|\____/\____/\_| \_|