Beispiel #1
0
        public useful(PubComb plug)
        {
            plugin = plug;
            shared = plugin.SharedInfo;
            this.frame = plug.frame;
            this.proxy = frame.proxy;
            form = new UsefulForm1(this);

            /*this.proxy.AddDelegate(PacketType.AgentMovementComplete, Direction.Incoming, delegate(Packet packet, IPEndPoint sim)
            {
                RegionHandle = ((AgentMovementCompletePacket)packet).Data.RegionHandle;
                return packet;
            });
            this.proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, delegate(Packet packet, IPEndPoint sim)
            {
                CameraCenter = ((AgentUpdatePacket)packet).AgentData.CameraCenter;
                return packet;
            });
            */

            //this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            //this.proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(OutAgentUpdateHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(InImprovedInstantMessageHandler));
            //this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Incoming, new PacketDelegate(InViewerEffectHandler));
            this.proxy.AddDelegate(PacketType.AlertMessage, Direction.Incoming, new PacketDelegate(InAlertMessageHandler));
            this.proxy.AddDelegate(PacketType.AvatarPropertiesRequest, Direction.Outgoing, new PacketDelegate(OutAvatarPropertiesRequestHandler));
            this.proxy.AddDelegate(PacketType.GroupProfileReply, Direction.Incoming, new PacketDelegate(GroupProp));
            this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName));

            //this.proxy.AddDelegate(PacketType.AvatarSitResponse, Direction.Incoming, new PacketDelegate(InAvatarSitResponseHandler));
            //this.proxy.AddDelegate(PacketType.TerminateFriendship, Direction.Incoming, new PacketDelegate(InTerminateFriendshipHandler));
            //this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(InObjectUpdateHandler));
        }
Beispiel #2
0
        public AwesomeSauce(PubComb p)
        {
            plugin = p;
            currentRegion = UUID.Zero.GetULong();
            form = new AweseomeSauceForm1(this);
            this.frame = p.frame;
            this.proxy = frame.proxy;
            //this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            //this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            //this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
            this.proxy.AddDelegate(PacketType.AssetUploadRequest, Direction.Outgoing, new PacketDelegate(TryToSendAsset));
            this.proxy.AddDelegate(PacketType.ConfirmXferPacket, Direction.Incoming, new PacketDelegate(InConfirmXferPacketHandler));
            this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(ServerRequestsMyDataToStart));
            this.proxy.AddDelegate(PacketType.SendXferPacket, Direction.Outgoing, new PacketDelegate(ClientSentThisScript));
            this.proxy.AddDelegate(PacketType.TransferPacket, Direction.Incoming, new PacketDelegate(LoadingUpNewScript));
            this.proxy.AddDelegate(PacketType.TransferInfo, Direction.Incoming, new PacketDelegate(SimWantsToSendUs));
            //this.proxy.AddDelegate(PacketType.ReplyTaskInventory, Direction.Incoming, new PacketDelegate(ReplyTask));
            //this.proxy.AddDelegate(PacketType.TransferRequest, Direction.Outgoing, new PacketDelegate(TrasferReq));
            //this.proxy.AddCapsDelegate("UpdateScriptTask", new CapsDelegate(UploadStart));
            //this.proxy.AddCapsDelegate("UpdateScriptAgent", new CapsDelegate(UploadStart));

            //if (!Directory.Exists("(You can Delete me) Expired Scripts Cache"))
            //Directory.CreateDirectory("(You can Delete me) Expired Scripts Cache");

            if (!Directory.Exists("Scripts Cache"))
            {
                Directory.CreateDirectory("Scripts Cache");
            }

                       // File.Move("./" + f, "./Old Particle Scripts/" + DateTime.Now.Date.Month.ToString() + "-" + DateTime.Now.Day.ToString() + "-" + DateTime.Now.Year.ToString() +
                       //     " - " + DateTime.Now.TimeOfDay.TotalSeconds.ToString() + "@" + f.Substring(17));
        }
Beispiel #3
0
 public ProfileFunPlugin(PubComb plug)
 {
     plugin = plug;
     form = new SimpleProfForm1(this);
     this.frame = plug.frame;
     shared = plugin.SharedInfo;
     this.proxy = plug.proxy;
     proxy.AddDelegate(PacketType.AvatarPropertiesReply, Direction.Incoming, new PacketDelegate(inAvatar));
     RefreshDownloadsTimer.Elapsed += new System.Timers.ElapsedEventHandler(RefreshDownloadsTimer_Elapsed);
     RefreshDownloadsTimer.Start();
     proxy.AddDelegate(PacketType.AgentMovementComplete, Direction.Incoming, delegate(Packet packet, IPEndPoint sim)
     {
         shared.RegionHandle = ((AgentMovementCompletePacket)packet).Data.RegionHandle;
         return packet;
     });
     proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, delegate(Packet packet, IPEndPoint sim)
     {
         AgentUpdatePacket.AgentDataBlock p = ((AgentUpdatePacket)packet).AgentData;
         shared.CameraPosition = p.CameraCenter;
         shared.CameraAtAxis = p.CameraAtAxis;
         shared.CameraLeftAxis = p.CameraLeftAxis;
         shared.CameraUpAxis = p.CameraUpAxis;
         shared.Far = p.Far;
         shared.ip = sim.Address;
         shared.port = sim.Port;
         return packet;
     });
 }
Beispiel #4
0
 public static void Main(string[] args)
 {
     ProxyFrame p = new ProxyFrame(args);
     ProxyPlugin analyst = new Analyst(p);
     analyst.Init();
     p.proxy.Start();
 }
Beispiel #5
0
 public InvFunPlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new InvFunForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
 }
Beispiel #6
0
 public ProTextPlug(PubComb p)
 {
     plugin = p;
     this.frame = p.frame;
     this.proxy = frame.proxy;
     form = new ProTextionForm1(this);
     this.proxy.AddDelegate(PacketType.ImageData, Direction.Incoming, new PacketDelegate(ImageDataHandler));
 }
Beispiel #7
0
 public SitAnywherePlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new SitAnywhereForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.frame.AddCommand("/sit", new ProxyFrame.CommandDelegate(this.CmdSit));
 }
Beispiel #8
0
 public FileProtectPlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new FileProtectForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(disbale));
 }
Beispiel #9
0
 public SitBlockPlugin(PubComb plug)
 {
     plugin = plug;
     form = new SitBlockForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.brand = "SitBlock";
     proxy.AddDelegate(PacketType.AgentRequestSit, Direction.Outgoing, new PacketDelegate(sitp));
 }
Beispiel #10
0
 public ViewerEffectLogPlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new VELogForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Incoming, new PacketDelegate(ve));
 }
Beispiel #11
0
 public HighPlugin(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new HighForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.frame.AddCommand("/high", new ProxyFrame.CommandDelegate(this.CmdHigh));
     this.frame.AddCommand("/tp", new ProxyFrame.CommandDelegate(this.CmdTp));
     this.proxy.AddDelegate(PacketType.ObjectSelect, Direction.Outgoing, new PacketDelegate(this.ToHigh));
     this.proxy.AddDelegate(PacketType.ObjectDeselect, Direction.Outgoing, new PacketDelegate(this.ToHigh));
 }
Beispiel #12
0
 public RadarChatPlugin(PubComb plug)
 {
     start = System.DateTime.Now;
     plugin = plug;
     shared = plug.SharedInfo;
     form = new RadarChatForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotName));
     this.proxy.AddDelegate(PacketType.CoarseLocationUpdate, Direction.Incoming, new PacketDelegate(LocationIN));
     this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(inSound));
 }
Beispiel #13
0
 public RetreatPlugin(PubComb plug)
 {
     form = new RetreatForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.TerminateFriendship, Direction.Incoming, new PacketDelegate(ItsOver));
     this.proxy.AddDelegate(PacketType.UUIDNameReply, Direction.Incoming, new PacketDelegate(GotTheirName));
 }
Beispiel #14
0
        public RainbowParticlesPlugin(PubComb plug)
        {
            plugin = plug;
            form = new RainbowParticlesForm1(this);
            this.frame = plugin.frame;
            this.proxy = plugin.proxy;
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ViewerEffect, Direction.Outgoing, new PacketDelegate(OutViewerEffectHandler));

            GregTimer.Elapsed += new System.Timers.ElapsedEventHandler(GregTimer_Elapsed);
            GregTimer.Start();
        }
Beispiel #15
0
        public coin(PubComb plug)
        {
            plugin = plug;
            this.frame = plug.frame;

            frame.proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing, coinage);

            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new CoinForm1(this);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Beispiel #16
0
 public DisableCapsPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
         form = new CapsForm1(this);
       //  Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
         plugin = plug;
      //   plugin.tabform.addATab(form, "Disable Caps");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
 }
Beispiel #17
0
 public SpamBlocker(PubComb plug)
 {
     plugin = plug;
     shared = plug.SharedInfo;
     form = new SpamBlockForm1(this);
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     this.proxy.AddDelegate(PacketType.ChangeUserRights, Direction.Incoming, new PacketDelegate(this.UserRights));
     this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(this.InIM));
     this.proxy.AddDelegate(PacketType.ScriptDialog, Direction.Incoming, new PacketDelegate(this.Dialogs));
     this.proxy.AddDelegate(PacketType.SoundTrigger, Direction.Incoming, new PacketDelegate(this.InTSound));
     this.proxy.AddDelegate(PacketType.AttachedSound, Direction.Incoming, new PacketDelegate(this.InASound));
     this.proxy.AddDelegate(PacketType.ScriptTeleportRequest, Direction.Incoming, new PacketDelegate(this.InMap));
 }
Beispiel #18
0
        public PennyPlugin(PubComb plug)
        {
            plugin = plug;
            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new PennyForm1(this);
             //   Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();

            this.frame = plugin.frame;
            this.proxy = plugin.proxy;
            //this.brand = "Penny";
            proxy.AddDelegate(PacketType.AgentSetAppearance, Direction.Outgoing,new PacketDelegate(ApHand));
        }
Beispiel #19
0
        public AvatarTracker(PubComb plugin)
        {
            this.plugin = plugin;
            this.frame = plugin.frame;
            this.proxy = plugin.frame.proxy;
            this.SharedInfo = plugin.SharedInfo;

            this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(InObjectUpdateHandler));
            this.proxy.AddDelegate(PacketType.ImprovedTerseObjectUpdate, Direction.Incoming, new PacketDelegate(InImprovedTerseObjectUpdateHandler));
            this.proxy.AddDelegate(PacketType.KillObject, Direction.Incoming, new PacketDelegate(InKillObjectHandler));
            this.proxy.AddDelegate(PacketType.DisableSimulator, Direction.Incoming, new PacketDelegate(InDisableSimulatorHandler));
            form = new FormAvatars(this);

            //formthread = new Thread(new ThreadStart(showform));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Beispiel #20
0
        //private Form _WinForm;
        public PubComb(ProxyFrame frame)
        {
            //MessageBox.Show("called");

            //this._WinForm=form;
            this.frame = frame;
            this.proxy = frame.proxy;
            SharedInfo = new Aux_SharedInfo(this);

            //plugins.Add(new SpamBlocker(this));
            plugins.Add(new ClientDetection(this));
            plugins.Add(new LyraPlugin(this));
            plugins.Add(new HandicapPlugin(this));
            plugins.Add(new PennyPlugin(this));
            //plugins.Add(new PAnim(this));
            //plugins.Add(new DisableCapsPlugin(this));
            //plugins.Add(new IMLocatePlugin(this));
            plugins.Add(new LeetPlugin(this));
            //plugins.Add(new CinderellaPlugin(this));
            plugins.Add(new ProfileFunPlugin(this));
            plugins.Add(new SitAnywherePlugin(this));
            plugins.Add(new HighPlugin(this));
            plugins.Add(new RadarChatPlugin(this));
            plugins.Add(new FileProtectPlugin(this));
            //plugins.Add(new InvFunPlugin(this));
            plugins.Add(new RainbowParticlesPlugin(this));
            //causing problems :(
            //plugins.Add(new coin(this));
            plugins.Add(new RetreatPlugin(this));
            //plugins.Add(new AwesomeSauce(this));
            plugins.Add(new ProTextPlug(this));
            plugins.Add(new ViewerEffectLogPlugin(this));
            plugins.Add(new AvatarTracker(this));
            //plugins.Add(new CliIntPlugin(this));
            plugins.Add(new SitBlockPlugin(this));
            plugins.Add(new ShadowPlugin(this));
            plugins.Add(new useful(this));

            //tabformthread = new Thread(new ThreadStart(delegate()
            //{
            //    tabform = new TabItem(this);
            //    Application.Run(tabform);
            //}));
            //tabformthread.SetApartmentState(ApartmentState.STA);
            //tabformthread.Start();
        }
Beispiel #21
0
        public ClientDetection(PubComb plugin)
        {
            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new ClientDetectForm1(this);
              //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();*/
            this.plugin = plugin;

            this.frame = plugin.frame;
            this.proxy = plugin.frame.proxy;
            this.SharedInfo = plugin.SharedInfo;

            this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(inObj));
            this.proxy.AddDelegate(PacketType.AvatarAppearance, Direction.Incoming, new PacketDelegate(inClo));
        }
Beispiel #22
0
 public LyraPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
     //    form = new LyraForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
     plugin = plug;
     form = new LyraForm1(this);
     //plug.tabform.addATab(form, "LYRA");
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     // this.brand = "Lyra";
     proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(SimChat));
     proxy.AddDelegate(PacketType.AgentUpdate, Direction.Outgoing, new PacketDelegate(Age));
 }
Beispiel #23
0
 public HandicapPlugin(PubComb plug)
 {
     //formthread = new Thread(new ThreadStart(delegate()
     //{
         form = new HandiForm1(this);
     //    Application.Run(form);
     //}));
     //formthread.SetApartmentState(ApartmentState.STA);
     //formthread.Start();
         plugin = plug;
     this.frame = plug.frame;
     this.proxy = plug.proxy;
     //plug.tabform.addATab(form, "Handicap");
     this.proxy.AddDelegate(PacketType.GenericMessage, Direction.Outgoing, new PacketDelegate(OutAutoPilot));
     //this.proxy.AddDelegate(PacketType.GenericMessage, Direction.Incoming, new PacketDelegate(OutAutoPilot));
     this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
     this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
     //this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
 }
Beispiel #24
0
        public CinderellaPlugin(PubComb plug)
        {
            plugin = plug;
            this.frame = plug.frame;
            this.proxy = plug.proxy;

            //this.proxy.AddDelegate(PacketType.ObjectUpdate, Direction.Incoming, new PacketDelegate(ObjectUpdateHandler));
            //this.proxy.AddDelegate(PacketType.ObjectProperties, Direction.Incoming, new PacketDelegate(ObjectPropertiesHandler));
            this.proxy.AddDelegate(PacketType.ConfirmXferPacket, Direction.Incoming, new PacketDelegate(InConfirmXferPacketHandler));
            this.proxy.AddDelegate(PacketType.RequestXfer, Direction.Incoming, new PacketDelegate(ServerRequestsMyDataToStart));

            //formthread = new Thread(new ThreadStart(delegate()
            //{
                form = new CinderForm1(this);
              //  Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();
        }
Beispiel #25
0
        public ShadowPlugin(ProxyFrame frame)
        {
            fish = new Twofish();
            fish.Mode = CipherMode.ECB;
            ms = new System.IO.MemoryStream();

            formthread = new Thread(new ThreadStart(delegate()
            {
                form = new ShadowForm1(this);
                Application.Run(form);
            }));
            formthread.SetApartmentState(ApartmentState.STA);
            formthread.Start();

            this.frame = frame;
            this.proxy = frame.proxy;
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Incoming, new PacketDelegate(RecivedIM));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
            this.proxy.AddDelegate(PacketType.ChatFromSimulator, Direction.Incoming, new PacketDelegate(InChatFromServerHandler));
        }
Beispiel #26
0
        public LeetPlugin(PubComb plug)
        {
            plugin = plug;

            //formthread = new Thread(new ThreadStart(delegate()
            //{
               form = new leetForm1(this);
             //   Application.Run(form);
            //}));
            //formthread.SetApartmentState(ApartmentState.STA);
            //formthread.Start();

            this.frame = plug.frame;
            this.proxy = plug.proxy;
            this.brand = "ls";
            this.proxy.AddDelegate(PacketType.ScriptDialogReply, Direction.Outgoing, new PacketDelegate(OutDialogFromViewer));
            this.proxy.AddDelegate(PacketType.ChatFromViewer, Direction.Outgoing, new PacketDelegate(OutChatFromViewerHandler));
            this.proxy.AddDelegate(PacketType.ImprovedInstantMessage, Direction.Outgoing, new PacketDelegate(SendingIM));
        }
Beispiel #27
0
 public ClientAO(ProxyFrame frame)
 {        
     this.frame = frame;
     this.proxy = frame.proxy;
 }
Beispiel #28
0
 public Aux_SharedInfo(PubComb plugin)
 {
     this.frame = plugin.frame;
 }
Beispiel #29
0
        public ProxyManager(string port, string listenIP, string loginUri)
        {
            openmvAssembly = Assembly.Load("OpenMetaverse");
            if (openmvAssembly == null) throw new Exception("Assembly load exception");

            _Port = string.Format("--proxy-login-port={0}", port);

            IPAddress remoteIP; // not used
            if (IPAddress.TryParse(listenIP, out remoteIP))
                _ListenIP = String.Format("--proxy-client-facing-address={0}", listenIP);
            else
                _ListenIP = "--proxy-client-facing-address=127.0.0.1";

            if (String.IsNullOrEmpty(loginUri))
                _LoginURI = "--proxy-remote-login-uri=https://login.agni.lindenlab.com/cgi-bin/login.cgi";
            else
                _LoginURI = "--proxy-remote-login-uri=" + loginUri;


            string[] args = { _Port, _ListenIP, _LoginURI };
            /*
                help
                proxy-help
                proxy-login-port
                proxy-client-facing-address
                proxy-remote-facing-address
                proxy-remote-login-uri
                verbose
                quiet
             */

            ProxyConfig pc = new ProxyConfig("WinGridProxy", "Jim Radford", args);

            Proxy = new ProxyFrame(args, pc);
            
            Proxy.proxy.AddLoginRequestDelegate(new XmlRpcRequestDelegate(LoginRequest));
            Proxy.proxy.AddLoginResponseDelegate(new XmlRpcResponseDelegate(LoginResponse));

            Proxy.proxy.AddCapsDelegate("EventQueueGet", new CapsDelegate(EventQueueGetHandler));

            // this is so we are informed of any new capabilities that are added to the KnownCaps dictionary
            Proxy.proxy.KnownCaps.AddDelegate(OpenMetaverse.DictionaryEventAction.Add, new OpenMetaverse.DictionaryChangeCallback(KnownCapsAddedHandler));
        }
Beispiel #30
0
 //private PacketDecoder DecodePacket = new PacketDecoder();
 public Analyst(ProxyFrame frame)
 {
     this.frame = frame;
     this.proxy = frame.proxy;
 }