Skip to content

Commit

Permalink
fix(removed remanents):
Browse files Browse the repository at this point in the history
  • Loading branch information
sagiesec committed Feb 10, 2021
1 parent f985d24 commit cfd1e9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cornershot/shots/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand All @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit cfd1e9a

Please sign in to comment.