Exception Error
Hi, I ran into this script to farther parse NESSUS outputs but I can't seem to get sr2t to return data as it errors. I also try the testssl flag and it returns something similar as well.
Windows 10
Python 3.85
pip install --user sr2t-0bs1d1an
Requirement already satisfied: sr2t-0bs1d1an in c:\users\user\appdata\local\programs\python\python38\lib\site-packages\sr2t_0bs1d1an-0.0.23-py3.8.egg (0.0.23)
Requirement already satisfied: PrettyTable in c:\users\user\appdata\local\programs\python\python38\lib\site-packages\prettytable-0.7.2-py3.8.egg (from sr2t-0bs1d1an) (0.7.2)
Requirement already satisfied: XlsxWriter in c:\users\user\appdata\local\programs\python\python38\lib\site-packages\xlsxwriter-1.2.9-py3.8.egg (from sr2t-0bs1d1an) (1.2.9)
sr2t --nessus test2.nessus
Traceback (most recent call last):
File "<frozen zipimport>", line 177, in get_data
KeyError: 'sr2t\\parsers\\..\\data\\nessus_autoclassify.yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python38\Scripts\sr2t-script.py", line 11, in <module>
load_entry_point('sr2t-0bs1d1an==0.0.23', 'console_scripts', 'sr2t')()
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\sr2t_0bs1d1an-0.0.23-py3.8.egg\sr2t\__main__.py", line 159, in main
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\sr2t_0bs1d1an-0.0.23-py3.8.egg\sr2t\parsers\nessus.py", line 113, in nessus_parser
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1157, in resource_string
return get_provider(package_or_requirement).get_resource_string(
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1403, in get_resource_string
return self._get(self._fn(self.module_path, resource_name))
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1571, in _get
return self.loader.get_data(path)
File "<frozen zipimport>", line 179, in get_data
OSError: [Errno 0] : 'sr2t\\parsers\\..\\data\\nessus_autoclassify.yaml'
sr2t --testssl testssl.json
Traceback (most recent call last):
File "<frozen zipimport>", line 177, in get_data
KeyError: 'sr2t\\parsers\\..\\data\\testssl.yaml'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python38\Scripts\sr2t-script.py", line 11, in <module>
load_entry_point('sr2t-0bs1d1an==0.0.23', 'console_scripts', 'sr2t')()
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\sr2t_0bs1d1an-0.0.23-py3.8.egg\sr2t\__main__.py", line 188, in main
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\sr2t_0bs1d1an-0.0.23-py3.8.egg\sr2t\parsers\testssl.py", line 69, in testssl_parser
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1157, in resource_string
return get_provider(package_or_requirement).get_resource_string(
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1403, in get_resource_string
return self._get(self._fn(self.module_path, resource_name))
File "C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\pkg_resources\__init__.py", line 1571, in _get
return self.loader.get_data(path)
File "<frozen zipimport>", line 179, in get_data
OSError: [Errno 0] : 'sr2t\\parsers\\..\\data\\testssl.yaml'