예제 #1
0
    // Token: 0x060003A5 RID: 933 RVA: 0x0103A054 File Offset: 0x01038254
    public Class16()
    {
        NamedPipeClientStream namedPipeClientStream = new NamedPipeClientStream(< Module >.smethod_7 <string>(343830083u), <Module> .smethod_7 <string>(3259497652u), PipeDirection.InOut, PipeOptions.None, TokenImpersonationLevel.Impersonation);

        Console.WriteLine(< Module >.smethod_8 <string>(1479745066u));
        namedPipeClientStream.Connect();
        GClass17 gclass = new GClass17(namedPipeClientStream);

        gclass.method_1(< Module >.smethod_7 <string>(2229885238u));
        if (gclass.method_0() == < Module >.smethod_8 <string>(3628184980u))
        {
            string a = gclass.method_0();
            string b = < Module >.smethod_6 <string>(622882003u) + Local.MD5HWID;
            if (a == b)
            {
                Console.WriteLine(< Module >.smethod_8 <string>(2400778248u));
            }
        }
        else
        {
            Console.WriteLine(< Module >.smethod_7 <string>(1518004576u));
        }
        namedPipeClientStream.Close();
        Thread.Sleep(400000);
    }
예제 #2
0
    // Token: 0x060003DC RID: 988 RVA: 0x0103A92C File Offset: 0x01038B2C
    private static void smethod_0(object object_0)
    {
        NamedPipeServerStream namedPipeServerStream = new NamedPipeServerStream("IHHpipe", PipeDirection.InOut, Class19.int_0);
        int managedThreadId = Thread.CurrentThread.ManagedThreadId;

        namedPipeServerStream.WaitForConnection();
        Console.WriteLine("Client connected on thread[{0}].", managedThreadId);
        try
        {
            GClass17 gclass = new GClass17(namedPipeServerStream);
            string   a      = gclass.method_0();
            if (a == "heyIMgay")
            {
                gclass.method_1("I am the one true gayceptor server!");
                gclass.method_1("H" + Local.MD5HWID);
            }
            if (a == "GetPath")
            {
                gclass.method_1("");
                gclass.method_1(Settings.Default.GamePath);
                Class19.bool_0 = true;
            }
            else
            {
                gclass.method_1("I like dicks");
            }
        }
        catch (IOException ex)
        {
            Console.WriteLine("ERROR: {0}", ex.Message);
        }
        namedPipeServerStream.Close();
    }