Skip to content

Commit 5ccf0d3

Browse files
357384nMarshall-Hallenbeck
authored andcommitted
Update powershell_history.py
add description to module option Signed-off-by: Sébastien Miguel <43112303+357384n@users.noreply.github.com>
1 parent 8132bf7 commit 5ccf0d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

nxc/modules/powershell_history.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import traceback
2+
import os
23
from impacket.examples.secretsdump import RemoteOperations
34

45
class NXCModule:
@@ -11,7 +12,7 @@ class NXCModule:
1112
multiple_hosts = True
1213

1314
def options(self, context, module_options):
14-
"""Define module options."""
15+
"""To export all the history you can add the following option: -o export=enable"""
1516
context.log.info(f"Received module options: {module_options}")
1617
self.export = module_options.get('EXPORT', 'disable').lower()
1718
context.log.info(f"Option export set to: {self.export}")

0 commit comments

Comments
 (0)