internal static object ExploitUsingExps(string address, string exploit, Host host)
        {
            dynamic tgt = (Target)GameController.HostList.Find(h => h.Addr == address);

            PacketCatch?.Invoke(tgt, host);
            return(!exploit.ToLowerInvariant().Contains(((string)tgt.Exp).ToLowerInvariant()) ? false : tgt.Pw);
        }
Example #2
0
        internal static Link.RemoteShell FindHostByAddress(string address, string password, Host host)
        {
            dynamic tgt = (Target)GameController.HostList.Find(h => h.Addr == address);

            PacketCatch?.Invoke(tgt, host);
            if (tgt.Pw != password)
            {
                return(null);
            }
            foreach (var r in Link.GetRouter(tgt))
            {
                Proxy(r);
            }
            UpperInspection?.Invoke();
            return(new Link.RemoteShell(host, tgt));
        }