Merge branch 'Tib3rius:main' into main

This commit is contained in:
Asim Aziz 2022-05-30 02:08:14 +01:00 committed by GitHub
commit 26d4e8bd14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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,

View File

@ -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']: