Load known client configurations for later use in scanning.
()
| 90 | |
| 91 | |
| 92 | def load_configs(): |
| 93 | """Load known client configurations for later use in scanning.""" |
| 94 | base_configs = [Firefox_42] |
| 95 | for conf in base_configs: |
| 96 | for version in ((3, 1), (3, 2), (3, 3), (3, 4), (3, 5), (3, 254)): |
| 97 | if conf().version != version: |
| 98 | # just changed version |
| 99 | gen = set_hello_version(conf(), version) |
| 100 | if gen.record_version > version: |
| 101 | gen.record_version = version |
| 102 | configs[gen.name] = gen |
| 103 | |
| 104 | # Firefox 42 configs |
| 105 | gen = Firefox_42() |
| 106 | configs[gen.name] = gen |
| 107 | |
| 108 | |
| 109 | def scan_TLS_intolerancies(host, port, hostname): |
no test coverage detected