ing
This commit is contained in:
		
							parent
							
								
									af3bc70f9a
								
							
						
					
					
						commit
						7ae03b9168
					
				| @ -68,13 +68,17 @@ func Scan(discoverySession session.DiscoverySession) { | ||||
| 		wg.Add(1) | ||||
| 		go func() { | ||||
| 			defer wg.Done() | ||||
| 		LOOP: | ||||
| 
 | ||||
| 			for _, target := range targetHosts { | ||||
| 				for _, c := range _2cCS { | ||||
| 					if scanV2(target, discoverySession, c) { | ||||
| 						continue LOOP | ||||
| 				wg.Add(1) | ||||
| 				go func(target net.IP) { | ||||
| 					defer wg.Done() | ||||
| 					for _, c := range _2cCS { | ||||
| 						if scanV2(target, discoverySession, c) { | ||||
| 							return | ||||
| 						} | ||||
| 					} | ||||
| 				} | ||||
| 				}(target) | ||||
| 			} | ||||
| 		}() | ||||
| 	} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user