forked from p15670423/monkey
Common: Modify docstring format in CustomPBAConfiguration
This commit is contained in:
parent
52643315e2
commit
f823e9c7ae
|
@ -8,16 +8,16 @@ class CustomPBAConfiguration:
|
||||||
A configuration for custom post-breach actions
|
A configuration for custom post-breach actions
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
linux_command (str): Command to run on Linux victim machines. If a file is uploaded,
|
:param linux_command: Command to run on Linux victim machines. If a file is uploaded,
|
||||||
use this field to change its permissions, execute it, and/or delete
|
use this field to change its permissions, execute it, and/or delete
|
||||||
it.
|
it.
|
||||||
Example: `chmod +x file.sh; ./file.sh; rm file.sh`
|
Example: `chmod +x file.sh; ./file.sh; rm file.sh`
|
||||||
linux_filename (str): Name of the file to upload on Linux victim machines.
|
:param linux_filename: Name of the file to upload on Linux victim machines.
|
||||||
windows_command (str): Command to run on Windows victim machines. If a file is uploaded,
|
:param windows_command: Command to run on Windows victim machines. If a file is uploaded,
|
||||||
use this field to change its permissions, execute it, and/or delete
|
use this field to change its permissions, execute it, and/or delete
|
||||||
it.
|
it.
|
||||||
Example: `file.bat & del file.bat`
|
Example: `file.bat & del file.bat`
|
||||||
windows_filename (str): Name of the file to upload on Windows victim machines.
|
:param windows_filename: Name of the file to upload on Windows victim machines.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
linux_command: str
|
linux_command: str
|
||||||
|
|
Loading…
Reference in New Issue