Skip to content

Commit

Permalink
botnet: mark addfile as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
magicnat committed Aug 4, 2021
1 parent fe1a3b1 commit 760a1bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions seedemu/services/BotnetService.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 760a1bf

Please sign in to comment.