Esempio n. 1
0
        public RemoteMain(RemoteHooking.IContext context, string channelName, GlobalConfig config)
        {
            ctrlInterface = RemoteHooking.IpcConnectClient <ControlInterface>(channelName);

            EstablishReverseRemotingConnection(channelName);

            commandHandler = new CommandHandler(ctrlInterface, config);

            packetManager = new PacketManager(ctrlInterface, commandHandler);

            commandHandler.DetourWndProc();

            wardenBuster = new WardenBuster(ctrlInterface.hostControl, commandHandler);

            ctrlInterface.hostControl.PrintMessage($"Ready");
        }
Esempio n. 2
0
        public RemoteMain(RemoteHooking.IContext context, GlobalConfig config)
        {
            try
            {
                ctrlInterface = new ControlInterface();

                SetupRemotingServer();

                commandHandler = new CommandHandler(ctrlInterface, config);

                packetManager = new PacketManager(ctrlInterface, commandHandler);

                commandHandler.DetourWndProc();

                wardenBuster = new WardenBuster(ctrlInterface.hostControl, commandHandler);

                ctrlInterface.hostControl.PrintMessage($"Ready");
            }
            catch (Exception e)
            {
                ctrlInterface.hostControl.PrintMessage(e.ToString());
            }
        }