zgrab2
zgrab2 copied to clipboard
Domain scanning
Currently if a domain is passed in, it can be looked up again for each scan.
Would it make more sense to look it up once at the start, pass it to each call to Scan()
, and return it in the result (so that it is possible to determine which host was actually scanned)?
Maybe this should based on time. To cache the domain for several seconds or minutes each time it been passed to the Scan() (for determine which host was actually scanned)? Because the dns route may change per minutes? Or give an argument like --enable-cache
?