Ejemplo n.º 1
0
        protected override void Collect()
        {
            //################
              //DOTNET Detection
              //################
              AddDataPair(".NET", ".NET versions installed", DetectOtherSoftware.GetGetDotNetVersionFromRegistry());

              //################
              //Java Detection
              //################
              Logger.Info("Collecting JAVA Information");
              var title = "JAVA";
              AddDataPair(title, "Classpath", DetectJava.GetClassPath());
              AddDataPair(title, "Other java environment variables", DetectJava.GetJavaEnvs());
              AddDataPair(title, "JDKs isntalled", ClientsCollectorHelper.GetJavaProducts("JDK"));
              AddDataPair(title, "JREs isntalled", ClientsCollectorHelper.GetJavaProducts("JRE"));
              AddDataPair(title, "Details", Html.AddLinkToHiddenContent(ClientsCollectorHelper.GetJavaDetails()));

              //DetectJava dj = new DetectJava();
              //AddDataPair("JAVA", "JDK/JRE versions installed", dj.ToString());
              if (ProductDetection.Vugen.IsInstalled)
            AddDataPair("JAVA", "VuGen JRE version", ClientsCollectorHelper.GetVugenJREVersion());

              //################
              //CITRIX Detection
              //################
              title = "Citrix";
              //If any of LR/VuGen/PC Host is not installed
              if (!ProductDetection.Vugen.IsInstalled)
              {
            // Use it only if Vugen is not installed, otherwise the info would be under Vugen Protocols
            Logger.Info("Collecting Citrix Information");
            var ctrxClient = new CitrixHelper.Client();
            AddDataPair(title, "Citrix client version", ctrxClient.GetCitrixClientInfo());
              }

              //################
              //CITRIX Server Detection
              //################
              var ctrxServer = new CitrixHelper.Server();
              AddDataPair(title, "Citrix Server", ctrxServer.ToString());
              if (ctrxServer.isInstalled)
              {
            AddDataPair(title, "End disconnected session", ctrxServer.GetIcaMaxDisconnectionTime());
            AddDataPair(title, "Active session limit", ctrxServer.GetMaxConnectionTime());
              }

              //If any of LR/VuGen/PC Host is not installed
              if (!ProductDetection.Vugen.IsInstalled)
              {
            //################
            //RDP Detection
            //################
            Logger.Info("Collecting RDP Information");
            AddDataPair("RDP", "RDP client version", DetectOtherSoftware.GetRDPClientVersion());
              }

              //################
              //Oracle Detection
              //################
              Logger.Info("Collecting Oracle client information");
              AddDataPair("Oracle", "Oracle DB client information",
              DetectOtherSoftware.GetOracleClientInfo());

              //################
              //SAPGUI Detection
              //################
              Logger.Info("Collecting SAPGUI information");
              AddDataPair("SAPGUI", "Is SAPGUI installed?",
            DetectOtherSoftware.GetSapGuiClientInfo());

              //################
              //JENKINS Detection
              //################
              Logger.Info("Collecting Jenkins information");
              AddDataPair("Jenkins", "Is Jenkins installed?", DetectOtherSoftware.GetJenkinsInfo());
              AddDataPair("Jenkins", "Is HP AAT plugin installed?", DetectOtherSoftware.GetJenkinsPluginInfo());
        }
Ejemplo n.º 2
0
        protected override void Collect()
        {
            //################
            //DOTNET Detection
            //################
            AddDataPair(".NET", ".NET versions installed", DetectOtherSoftware.GetGetDotNetVersionFromRegistry());

            //################
            //Java Detection
            //################
            Logger.Info("Collecting JAVA Information");
            var title = "JAVA";

            AddDataPair(title, "Classpath", DetectJava.GetClassPath());
            AddDataPair(title, "Other java environment variables", DetectJava.GetJavaEnvs());
            AddDataPair(title, "JDKs isntalled", ClientsCollectorHelper.GetJavaProducts("JDK"));
            AddDataPair(title, "JREs isntalled", ClientsCollectorHelper.GetJavaProducts("JRE"));
            AddDataPair(title, "Details", Html.AddLinkToHiddenContent(ClientsCollectorHelper.GetJavaDetails()));

            //DetectJava dj = new DetectJava();
            //AddDataPair("JAVA", "JDK/JRE versions installed", dj.ToString());
            if (ProductDetection.Vugen.IsInstalled)
            {
                AddDataPair("JAVA", "VuGen JRE version", ClientsCollectorHelper.GetVugenJREVersion());
            }


            //################
            //CITRIX Detection
            //################
            title = "Citrix";
            //If any of LR/VuGen/PC Host is not installed
            if (!ProductDetection.Vugen.IsInstalled)
            {
                // Use it only if Vugen is not installed, otherwise the info would be under Vugen Protocols
                Logger.Info("Collecting Citrix Information");
                var ctrxClient = new CitrixHelper.Client();
                AddDataPair(title, "Citrix client version", ctrxClient.GetCitrixClientInfo());
            }

            //################
            //CITRIX Server Detection
            //################
            var ctrxServer = new CitrixHelper.Server();

            AddDataPair(title, "Citrix Server", ctrxServer.ToString());
            if (ctrxServer.isInstalled)
            {
                AddDataPair(title, "End disconnected session", ctrxServer.GetIcaMaxDisconnectionTime());
                AddDataPair(title, "Active session limit", ctrxServer.GetMaxConnectionTime());
            }

            //If any of LR/VuGen/PC Host is not installed
            if (!ProductDetection.Vugen.IsInstalled)
            {
                //################
                //RDP Detection
                //################
                Logger.Info("Collecting RDP Information");
                AddDataPair("RDP", "RDP client version", DetectOtherSoftware.GetRDPClientVersion());
            }



            //################
            //Oracle Detection
            //################
            Logger.Info("Collecting Oracle client information");
            AddDataPair("Oracle", "Oracle DB client information",
                        DetectOtherSoftware.GetOracleClientInfo());

            //################
            //SAPGUI Detection
            //################
            Logger.Info("Collecting SAPGUI information");
            AddDataPair("SAPGUI", "Is SAPGUI installed?",
                        DetectOtherSoftware.GetSapGuiClientInfo());


            //################
            //JENKINS Detection
            //################
            Logger.Info("Collecting Jenkins information");
            AddDataPair("Jenkins", "Is Jenkins installed?", DetectOtherSoftware.GetJenkinsInfo());
            AddDataPair("Jenkins", "Is HP AAT plugin installed?", DetectOtherSoftware.GetJenkinsPluginInfo());
        }
Ejemplo n.º 3
0
        protected override void Collect()
        {
            var ro = new DetectRecordingOptions();

            base.OnRaiseProgressUpdate();

            var title = "WEB (HTTP/HTML)";

            AddDataPair(title, "Last used recording options", "User " + Html.B(Environment.UserName) + "  " + Html.AddLinkToHiddenContent(ro.ToString(), true));

            if (ProductDetection.Vugen.isNew)
            {
                title = "TruClient IE";
                AddDataPair(title, "Is enabled?", VugenProtocolsCollectorHelper.TruClientIE.IsEnabled());
                AddDataPair(title, "RRE version", VugenProtocolsCollectorHelper.TruClientIE.GetTCIEVersion());
                AddDataPair(title, "General > Browser settings", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientIE.GetGeneralBrowserSettings()));
                AddDataPair(title, "General > Interactive options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientIE.GetInteractiveOptions()));
            }

            if (ProductDetection.Vugen.version > new Version("11.00"))
            {
                title = "TruClient Firefox";
                AddDataPair(title, "Firefox version", VugenProtocolsCollectorHelper.TruClientFF.GetFirefoxVersion());
                AddDataPair(title, "General > Browser settings", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientFF.GetBrowserSettings()));
                AddDataPair(title, "General > Interactive options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientFF.GetInteractiveOptions()));
                if (ProductDetection.Vugen.version >= new Version("11.50"))
                {
                    AddDataPair(title, "Lists DACLs", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientFF.GetUrlAclInfo()));
                }
            }

            //TODO test on 11
            title = "Java protocols";
            AddDataPair(title, "Classpath", VugenProtocolsCollectorHelper.Java.GetJavaIniOption("Java_Env_ClassPath"));
            AddDataPair(title, "VM Params", VugenProtocolsCollectorHelper.Java.GetJavaIniOption("Java_VM_Params"));
            AddDataPair(title, "Use VM params during replay?", VugenProtocolsCollectorHelper.Java.GetJavaIniBoolOption("Java_SaveParams"));
            AddDataPair(title, "Use classic Java", VugenProtocolsCollectorHelper.Java.GetJavaIniBoolOption("Java_Classic"));
            AddDataPair(title, "Prepend classpath to -Xbootclasspath", VugenProtocolsCollectorHelper.Java.GetJavaIniBoolOption("Java_Prepend_Classpath"));

            title = "Citrix";
            var ctrxClient = new CitrixHelper.Client();

            AddDataPair(title, "Is Citrix client installed?", ctrxClient.GetCitrixClientInfo());
            //if (citrixClient.isInstalled)
            //  AddDataPair(title, "Is client version supported?", citrixClient.GetClientVersionSupportedInfo());
            AddDataPair(title, "Is Citrix registry patch installed?", ctrxClient.GetCitrixRegistryPatchInfo());
            AddDataPair(title, "Recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.Citrix.GetCitrixRecOptions()));
            AddDataPair(title, "Citrix_XenApp correlation rules enabled?", CorrelationRules.IsGroupEnabledText("Citrix_XenApp"));

            title = "Dot Net";
            AddDataPair(title, "Recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.DotNet.GetDotNetRecOptions()));
            AddDataPair(title, "Filters", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.DotNet.GetDotNetFilters()));

            title = "RDP";
            AddDataPair(title, "RDP client version", DetectOtherSoftware.GetRDPClientVersion());
            AddDataPair(title, "RDP recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.Rdp.GetRdpRecOptions()));

            title = "FLEX, AMF";
            AddDataPair(title, "Recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.FlexAmf.GetFlexRoInfo()));
            AddDataPair(title, "Other settings", VugenProtocolsCollectorHelper.FlexAmf.GetFlexInfo());
            AddDataPair(title, "Flex correlation rules enabled?", CorrelationRules.IsGroupEnabledText("Flex"));

            title = "Siebel Web";
            AddDataPair(title, "Is Siebel correlation library used?", VugenProtocolsCollectorHelper.SiebelWeb.GetSiebelDllVersionInfo());
            AddDataPair(title, "Correlation rules", VugenProtocolsCollectorHelper.SiebelWeb.GetIsSiebelCorrelationEnabledInfo());
        }
Ejemplo n.º 4
0
        protected override void Collect()
        {
            var ro = new DetectRecordingOptions();

              base.OnRaiseProgressUpdate();

              var title = "WEB (HTTP/HTML)";
              AddDataPair(title, "Last used recording options", "User " + Html.B(Environment.UserName) + "  " + Html.AddLinkToHiddenContent(ro.ToString(), true));

              if (ProductDetection.Vugen.isNew)
              {
            title = "TruClient IE";
            AddDataPair(title, "Is enabled?", VugenProtocolsCollectorHelper.TruClientIE.IsEnabled());
            AddDataPair(title, "RRE version", VugenProtocolsCollectorHelper.TruClientIE.GetTCIEVersion());
            AddDataPair(title, "General > Browser settings", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientIE.GetGeneralBrowserSettings()));
            AddDataPair(title, "General > Interactive options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientIE.GetInteractiveOptions()));
              }

              if (ProductDetection.Vugen.version > new Version("11.00"))
              {
            title = "TruClient Firefox";
            AddDataPair(title, "Firefox version", VugenProtocolsCollectorHelper.TruClientFF.GetFirefoxVersion());
            AddDataPair(title, "General > Browser settings", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientFF.GetBrowserSettings()));
            AddDataPair(title, "General > Interactive options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientFF.GetInteractiveOptions()));
            if (ProductDetection.Vugen.version >= new Version("11.50"))
              AddDataPair(title, "Lists DACLs", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.TruClientFF.GetUrlAclInfo()));
              }

              //TODO test on 11
              title = "Java protocols";
              AddDataPair(title, "Classpath", VugenProtocolsCollectorHelper.Java.GetJavaIniOption("Java_Env_ClassPath"));
              AddDataPair(title, "VM Params", VugenProtocolsCollectorHelper.Java.GetJavaIniOption("Java_VM_Params"));
              AddDataPair(title, "Use VM params during replay?", VugenProtocolsCollectorHelper.Java.GetJavaIniBoolOption("Java_SaveParams"));
              AddDataPair(title, "Use classic Java", VugenProtocolsCollectorHelper.Java.GetJavaIniBoolOption("Java_Classic"));
              AddDataPair(title, "Prepend classpath to -Xbootclasspath", VugenProtocolsCollectorHelper.Java.GetJavaIniBoolOption("Java_Prepend_Classpath"));

              title = "Citrix";
              var ctrxClient = new CitrixHelper.Client();
              AddDataPair(title, "Is Citrix client installed?", ctrxClient.GetCitrixClientInfo());
              //if (citrixClient.isInstalled)
              //  AddDataPair(title, "Is client version supported?", citrixClient.GetClientVersionSupportedInfo());
              AddDataPair(title, "Is Citrix registry patch installed?", ctrxClient.GetCitrixRegistryPatchInfo());
              AddDataPair(title, "Recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.Citrix.GetCitrixRecOptions()));
              AddDataPair(title, "Citrix_XenApp correlation rules enabled?", CorrelationRules.IsGroupEnabledText("Citrix_XenApp"));

              title = "Dot Net";
              AddDataPair(title, "Recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.DotNet.GetDotNetRecOptions()));
              AddDataPair(title, "Filters", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.DotNet.GetDotNetFilters()));

              title = "RDP";
              AddDataPair(title, "RDP client version", DetectOtherSoftware.GetRDPClientVersion());
              AddDataPair(title, "RDP recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.Rdp.GetRdpRecOptions()));

              title = "FLEX, AMF";
              AddDataPair(title, "Recording options", Html.AddLinkToHiddenContent(VugenProtocolsCollectorHelper.FlexAmf.GetFlexRoInfo()));
              AddDataPair(title, "Other settings", VugenProtocolsCollectorHelper.FlexAmf.GetFlexInfo());
              AddDataPair(title, "Flex correlation rules enabled?", CorrelationRules.IsGroupEnabledText("Flex"));

              title = "Siebel Web";
              AddDataPair(title, "Is Siebel correlation library used?", VugenProtocolsCollectorHelper.SiebelWeb.GetSiebelDllVersionInfo());
              AddDataPair(title, "Correlation rules", VugenProtocolsCollectorHelper.SiebelWeb.GetIsSiebelCorrelationEnabledInfo());
        }