Skip to content

Commit 384ffcb

Browse files
committed
Increase batch size for Mythic data retrieval
1 parent 254b181 commit 384ffcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bofhound/parsers/data_sources.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class MythicDataSource(DataSource):
105105

106106
def __init__(self, mythic_server: str, mythic_token: str):
107107
# suppress warning
108-
warnings.filterwarnings("ignore",
108+
warnings.filterwarnings("ignore",
109109
message=".*AIOHTTPTransport does not verify ssl certificates.*",
110110
category=UserWarning)
111111
self.mythic_server = mythic_server
@@ -150,7 +150,7 @@ def get_data_streams(self) -> Iterator['MythicDataStream']:
150150
if self._mythic_instance is None:
151151
self._connect()
152152

153-
async_batch_iterator = mythic.get_all_task_output(self._mythic_instance, batch_size=1)
153+
async_batch_iterator = mythic.get_all_task_output(self._mythic_instance, batch_size=100)
154154

155155
for batch in self._async_iterable_to_sync_iterable(async_batch_iterator):
156156
yield from (MythicDataStream(output) for output in batch)

0 commit comments

Comments
 (0)