From 760a1bf76d87f0d76b8e042a0f7497bc3a8622e5 Mon Sep 17 00:00:00 2001 From: Maho Morichika Date: Wed, 4 Aug 2021 16:19:54 -0400 Subject: [PATCH] botnet: mark addfile as deprecated --- seedemu/services/BotnetService.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/seedemu/services/BotnetService.py b/seedemu/services/BotnetService.py index aafeed3e4..5ab8d6945 100644 --- a/seedemu/services/BotnetService.py +++ b/seedemu/services/BotnetService.py @@ -125,6 +125,9 @@ def setPort(self, port: int) -> BotnetServer: def addFile(self, content: str, path: str): """! + @deprecated to be removed in future version. use + emulator.getVirtualNode(nodename).setFile instead. + @brief Add a file to the C2 server. You can use this API to add files onto the physical node of the C2 server. This can be useful for preparing attack scripts for uploading to the client.