Exemplo n.º 1
0
        public void Scan()
        {
            Console.WriteLine("Scanning from port {0} to {1}, maxThreads = {2}, timeout = {3}",
                              absoluteMinPort, absoluteMaxPort, maxThreads, timeout);

            PortScannerManager portScannerManager =
                new PortScannerManager(hostIP, absoluteMinPort, absoluteMaxPort, maxThreads, timeout, sleepTime);

            portScannerManager.Scan();
            portScannerManager.PrintStatus();
        }
Exemplo n.º 2
0
 public PortConnectionThread(PortScannerManager portScannerManager, UInt16 port)
 {
     this.portScannerManager = portScannerManager;
     this.port = port;
 }