Advertisement
FlyFar

agent/template_config.py

Jan 13th, 2024
685
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.62 KB | Cybersecurity | 0 0
  1. SERVER = "__SERVER__"
  2. HELLO_INTERVAL = __HELLO_INTERVAL__
  3. IDLE_TIME = __IDLE_TIME__
  4. MAX_FAILED_CONNECTIONS = __MAX_FAILED_CONNECTIONS__
  5. PERSIST = __PERSIST__
  6. HELP = """
  7. <any shell command>
  8. Executes the command in a shell and return its output.
  9.  
  10. upload <local_file>
  11. Uploads <local_file> to server.
  12.  
  13. download <url> <destination>
  14. Downloads a file through HTTP(S).
  15.  
  16. zip <archive_name> <folder>
  17. Creates a zip archive of the folder.
  18.  
  19. screenshot
  20. Takes a screenshot.
  21.  
  22. python <command|file>
  23. Runs a Python command or local file.
  24.  
  25. persist
  26. Installs the agent.
  27.  
  28. clean
  29. Uninstalls the agent.
  30.  
  31. exit
  32. Kills the agent.
  33. """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement