Ejemplo n.º 1
0
        private void _btnSecTrailsTest_Click(object sender, EventArgs e)
        {
            string domain = _txtDomain.Text;

            StringBuilder sb = new StringBuilder();

            sb.Append("Testing Security Trails API...");
            List <string> subDomains = Hunter.Gather_SecurityTrails(domain, Settings.SecurityTrailsAPI);

            sb.Append("Subdomains found: " + subDomains.Count);
            foreach (string sub in subDomains.Take(5))
            {
                sb.Append(sub + Environment.NewLine);
            }

            LogTest(sb.ToString());
        }