zgrab2/modules/http
Jeff Cody 909643c227
HTTP Module: Keep scanner.config immutable during scans (#245)
The Scanner.config struct is a configuration for all instances of
Scanner.  Scanner.Scan() is called concurrently by multiple worker
goroutines; while Scanner is dereferenced before the call, the config
struct is a pointer, and so modifications to it will affect all other
running scans done with that Scanner.

Make sure we treat it as immutable during anything invoked by
Scanner.Scan() in the http module.

https://github.com/zmap/zgrab2/pull/245
2020-02-19 14:31:12 -05:00
..
http_readlimit_test.go add bytelimit tests 2018-09-27 14:00:26 -04:00
scanner.go HTTP Module: Keep scanner.config immutable during scans (#245) 2020-02-19 14:31:12 -05:00