#2689 Fixed small bugs, added pydantic class validation and divided the data_Exfil command on c2 beacon into two separate methods.

This commit is contained in:
Archer Bowen
2024-08-15 11:36:55 +01:00
parent 6a28f17f1b
commit e53ac84666
6 changed files with 138 additions and 74 deletions

View File

@@ -1195,7 +1195,7 @@ class TerminalC2ServerAction(AbstractAction):
class _Opts(BaseModel):
"""Schema for options that can be passed to this action."""
commands: List[RequestFormat]
commands: Union[List[RequestFormat], RequestFormat]
ip_address: Optional[str]
username: Optional[str]
password: Optional[str]