From cfd1e9a147caf9857b7bfc1915810cd070e15522 Mon Sep 17 00:00:00 2001 From: sagiezero <61778471+sagiezero@users.noreply.github.com> Date: Wed, 10 Feb 2021 11:18:07 +0200 Subject: [PATCH] fix(removed remanents): --- cornershot/shots/__init__.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cornershot/shots/__init__.py b/cornershot/shots/__init__.py index 2c1f799..ad2374e 100644 --- a/cornershot/shots/__init__.py +++ b/cornershot/shots/__init__.py @@ -81,7 +81,7 @@ def close(self): except Exception as err: pass - async def connect_and_bind(self): + def connect_and_bind(self): try: rpctransport = transport.DCERPCTransportFactory(self.do_binding()) if hasattr(rpctransport, 'set_credentials'): @@ -97,7 +97,7 @@ async def connect_and_bind(self): except Exception as err: logger.debug(f'{type(self).__name__} - Connection failed for {self.destination}->{self.target}:{self.trgt_port} - {err}') - async def shoot(self): + def shoot(self): err = None state = PORT_UNKNOWN self.connect_and_bind() diff --git a/setup.py b/setup.py index 7538c78..c8ec1b4 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( name='cornershot', python_requires='>=3', - version='0.2.11', + version='0.2.12', description='Library to test network connectivity', long_description_content_type='text/markdown', long_description=long_description,