Fixed bug in rpcdump plugin.

impacket-rpcdump only supports ports 135, 139, 443, 445, and 593. Added a limitation to the plugin so it only runs against those ports.
This commit is contained in:
Tib3rius 2022-01-10 13:14:42 -05:00
parent 6fb3aff695
commit 873a1078d6
3 changed files with 3 additions and 2 deletions

View File

@ -36,6 +36,7 @@ class RPCDump(ServiceScan):
def configure(self):
self.match_service_name(['^msrpc', '^rpcbind', '^erpc'])
self.match_port('tcp', [135, 139, 443, 445, 593])
async def run(self, service):
if service.protocol == 'tcp':

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.targets import Target, Service
VERSION = "2.0.10"
VERSION = "2.0.11"
if not os.path.exists(config['config_dir']):
shutil.rmtree(config['config_dir'], ignore_errors=True, onerror=None)

View File

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