When analyzing tls nmap files it fails on SSLv3 enabled hosts.
A KeyError: 'SSLv3' exception is thrown:
python analyze.py -i /logs/recon tls -t nmap
Traceback (most recent call last):
File "/recon/./analyze.py", line 178, in <module>
main()
File "/recon/./analyze.py", line 175, in main
process(parser.parse_args())
File "/recon/./analyze.py", line 127, in process
analyze_service(
File "/recon/./analyze.py", line 43, in analyze_service
services = analyzer.analyze(files)
^^^^^^^^^^^^^^^^^^^^^^^
File "/recon/analyzers/tls/__init__.py", line 111, in analyze
services = self.parser.parse_files(files[self.parser_name])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/recon/analyzers/__init__.py", line 25, in parse_files
self.parse_file(path)
File "/recon/analyzers/tls/nmap.py", line 109, in parse_file
self._parse_cipher_suites(script_node, service)
File "/recon/analyzers/tls/nmap.py", line 231, in _parse_cipher_suites
self._parse_protocol_node(
File "/recon/analyzers/tls/nmap.py", line 186, in _parse_protocol_node
protocol_version = PROTOCOL_VERSIONS[node.get('key')]
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
KeyError: 'SSLv3'
Here is the probably relevant excempt from the corresponding file, let me know if you need more.
When analyzing tls nmap files it fails on SSLv3 enabled hosts. A
KeyError: 'SSLv3'
exception is thrown:Here is the probably relevant excempt from the corresponding file, let me know if you need more.
BR