Running the smb_brute module standalone works well when service discovery is skipped:
python3 nettacker.py -i target -m smb_brute -d
but running the same after a port_scan is crashing
python3 nettacker.py -i target -m smb_brute
This is the stack traceback
Exception in thread owasp.org -> smb_brute:
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "~/nettacker/nettacker/core/app.py", line 279, in scan_target
module.load()
File "~/nettacker/nettacker/core/module.py", line 105, in load
step, {"port": self.discovered_services[payload["library"]]}
KeyError: 'smb'