Fixed bug that reported tcpwrapped ports as missed services.
This commit is contained in:
Tib3rius 2021-10-19 18:29:44 -04:00
parent 2229216926
commit 0f917df077
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ from autorecon.io import slugify, e, fformat, cprint, debug, info, warn, error,
from autorecon.plugins import Pattern, PortScan, ServiceScan, Report, AutoRecon from autorecon.plugins import Pattern, PortScan, ServiceScan, Report, AutoRecon
from autorecon.targets import Target, Service from autorecon.targets import Target, Service
VERSION = "2.0.4" VERSION = "2.0.5"
if not os.path.exists(config['config_dir']): if not os.path.exists(config['config_dir']):
shutil.rmtree(config['config_dir'], ignore_errors=True, onerror=None) shutil.rmtree(config['config_dir'], ignore_errors=True, onerror=None)
@ -694,7 +694,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.full_tag() not in target.autorecon.missing_services: if service.name != 'tcpwrapped' 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']:

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "autorecon" name = "autorecon"
version = "2.0.4" version = "2.0.5"
description = "A multi-threaded network reconnaissance tool which performs automated enumeration of services." description = "A multi-threaded network reconnaissance tool which performs automated enumeration of services."
authors = ["Tib3rius"] authors = ["Tib3rius"]
license = "GNU GPL v3" license = "GNU GPL v3"