Updated service exceptions list.
This commit is contained in:
parent
c2b6d9d232
commit
f724be8191
|
@ -43,6 +43,7 @@ configurable_boolean_keys = [
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
'protected_classes': ['autorecon', 'target', 'service', 'commandstreamreader', 'plugin', 'portscan', 'servicescan', 'global', 'pattern'],
|
'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,
|
'config_dir': config_dir,
|
||||||
'global_file': None,
|
'global_file': None,
|
||||||
'ports': None,
|
'ports': None,
|
||||||
|
|
|
@ -733,7 +733,7 @@ async def scan_target(target):
|
||||||
|
|
||||||
if not service_match:
|
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)
|
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())
|
target.autorecon.missing_services.append(service.full_tag())
|
||||||
|
|
||||||
for plugin in target.autorecon.plugin_types['report']:
|
for plugin in target.autorecon.plugin_types['report']:
|
||||||
|
|
Loading…
Reference in New Issue