示例#1
0
        public PasiveScan(WinPcapDevice device, SynchronizedCollection<Data.Attack> attacks, IList<Data.Neighbor> neighbors, SynchronizedCollection<string> slaacReqs)
        {
            this.device = device;
            this.localPhysicalAddress = device.MacAddress;
            this.attacks = attacks;
            this.neighbors = neighbors;

            this.route = new Router(device, attacks, slaacReqs);
            this.pasivePortScan = new PasivePortScanner(neighbors);
            /* Ataques pasivos */
            this.DHCPACKInjection = new DHCPACKInjection(device, attacks);
            this.DHCPIpv6 = new DHCPIpv6(device, attacks);
        }
示例#2
0
        public PasiveScan(WinPcapDevice device, SynchronizedCollection <Data.Attack> attacks, IList <Data.Neighbor> neighbors, SynchronizedCollection <string> slaacReqs)
        {
            this.device = device;
            this.localPhysicalAddress = device.MacAddress;
            this.attacks   = attacks;
            this.neighbors = neighbors;

            this.route          = new Router(device, attacks, slaacReqs);
            this.pasivePortScan = new PasivePortScanner(neighbors);
            /* Ataques pasivos */
            this.DHCPACKInjection = new DHCPACKInjection(device, attacks);
            this.DHCPIpv6         = new DHCPIpv6(device, attacks);
        }