Update enum_ca.py
Updated as requested Signed-off-by: Josh <68809797+0xjbb@users.noreply.github.com>main
parent
b20f6e199d
commit
bf61e93466
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue