Skip to content

Commit b771c28

Browse files
authored
removed unwanted code
Signed-off-by: Vinoth Kumar <35825039+r4vanan@users.noreply.github.com>
1 parent 3fd8598 commit b771c28

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

nxc/modules/smbghost.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,3 @@ def perform_attack(self, target_ip):
5858
except Exception as e:
5959
self.context.log.fail(f"Error while connecting to host: {e}")
6060
return False
61-
62-
def fail(msg):
63-
nxc_logger.debug(msg)
64-
nxc_logger.fail("This might have been caused by invalid arguments or network issues.")
65-
sys.exit(2)

0 commit comments

Comments
 (0)