Skip to content

Commit 2f23fea

Browse files
committed
1 parent 269d2ff commit 2f23fea

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

Payload_Type/venus/mythic/agent_functions/builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Venus(PayloadType):
6262
name="version",
6363
parameter_type=BuildParameterType.String,
6464
description="Version of your extension",
65-
default_value="0.0.1",
65+
default_value="0.3.0",
6666
required=False,
6767
)
6868
}

Payload_Type/venus/mythic/agent_functions/current_user.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import json
33

44
class CurrentUserArguments(TaskArguments):
5-
def __init__(self, command_line):
6-
super().__init__(command_line)
7-
self.args = {}
5+
def __init__(self, command_line, **kwargs):
6+
super().__init__(command_line, **kwargs)
7+
self.args = []
88

99
async def parse_arguments(self):
1010
pass
@@ -23,4 +23,4 @@ async def create_tasking(self, task: MythicTask) -> MythicTask:
2323
return task
2424

2525
async def process_response(self, response: AgentResponse):
26-
pass
26+
pass

Payload_Type/venus/mythic/agent_functions/exit.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import json
33

44
class ExitArguments(TaskArguments):
5-
def __init__(self, command_line):
6-
super().__init__(command_line)
7-
self.args = {}
5+
def __init__(self, command_line, **kwargs):
6+
super().__init__(command_line, **kwargs)
7+
self.args = []
88

99
async def parse_arguments(self):
1010
pass
@@ -24,4 +24,4 @@ async def create_tasking(self, task: MythicTask) -> MythicTask:
2424
return task
2525

2626
async def process_response(self, response: AgentResponse):
27-
pass
27+
pass

Payload_Type/venus/mythic/agent_functions/hostname.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import json
33

44
class HostnameArguments(TaskArguments):
5-
def __init__(self, command_line):
6-
super().__init__(command_line)
7-
self.args = {}
5+
def __init__(self, command_line, **kwargs):
6+
super().__init__(command_line, **kwargs)
7+
self.args = []
88

99
async def parse_arguments(self):
1010
pass

Payload_Type/venus/mythic/agent_functions/pwd.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
import json
33

44
class PwdArguments(TaskArguments):
5-
def __init__(self, command_line):
6-
super().__init__(command_line)
7-
self.args = {}
5+
def __init__(self, command_line, **kwargs):
6+
super().__init__(command_line, **kwargs)
7+
self.args = []
88

99
async def parse_arguments(self):
1010
pass
@@ -23,4 +23,4 @@ async def create_tasking(self, task: MythicTask) -> MythicTask:
2323
return task
2424

2525
async def process_response(self, response: AgentResponse):
26-
pass
26+
pass

Payload_Type/venus/mythic/agent_functions/shell.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
import json
44

55
class ShellArguments(TaskArguments):
6-
def __init__(self, command_line):
7-
super().__init__(command_line)
8-
self.args = {
6+
def __init__(self, command_line, **kwargs):
7+
super().__init__(command_line, **kwargs)
8+
self.args = [
99
"command": CommandParameter(
1010
name="command", type=ParameterType.String, description="Command to run"
1111
)
12-
}
12+
]
1313

1414
async def parse_arguments(self):
1515
if len(self.command_line) > 0:

0 commit comments

Comments
 (0)