Update enum_ca.py

Updated as requested

Signed-off-by: Josh <68809797+0xjbb@users.noreply.github.com>
main
Josh 2024-01-06 21:30:26 +00:00 committed by mpgn
parent b20f6e199d
commit bf61e93466
1 changed files with 1 additions and 7 deletions

View File

@ -30,15 +30,9 @@ class NXCModule:
self.module_options = module_options self.module_options = module_options
def options(self, context, module_options): def options(self, context, module_options):
"""Required. pass
Module options get parsed here. Additionally, put the modules usage here as well
Usage: nxc smb $IP -u '' -p '' -M enum-ca
"""
def on_login(self, context, connection): def on_login(self, context, connection):
"""Concurrent.
Required if on_admin_login is not present. This gets called on each authenticated connection
"""
self.__username = connection.username self.__username = connection.username
self.__password = connection.password self.__password = connection.password
self.__domain = connection.domain self.__domain = connection.domain