diff --git a/autorecon/config.py b/autorecon/config.py index d81a66e..d4004e9 100644 --- a/autorecon/config.py +++ b/autorecon/config.py @@ -43,6 +43,7 @@ configurable_boolean_keys = [ config = { 'protected_classes': ['autorecon', 'target', 'service', 'commandstreamreader', 'plugin', 'portscan', 'servicescan', 'global', 'pattern'], + 'service_exceptions': ['mc-nmf', 'ncacn_http', 'smux', 'status', 'tcpwrapped', 'unknown'], 'config_dir': config_dir, 'global_file': None, 'ports': None, diff --git a/autorecon/main.py b/autorecon/main.py index 2144f10..95eac2e 100644 --- a/autorecon/main.py +++ b/autorecon/main.py @@ -733,7 +733,7 @@ async def scan_target(target): if not service_match: warn('{byellow}[' + target.address + ']{srst} Service ' + service.full_tag() + ' did not match any plugins based on the service name.{rst}', verbosity=2) - if service.name not in ['status', 'tcpwrapped', 'unknown'] and service.full_tag() not in target.autorecon.missing_services: + if service.name not in config['service_exceptions'] and service.full_tag() not in target.autorecon.missing_services: target.autorecon.missing_services.append(service.full_tag()) for plugin in target.autorecon.plugin_types['report']: