Advertisement
FlyFar

agent/config.py

Jan 13th, 2024
1,362
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.57 KB | Cybersecurity | 0 0
  1. SERVER = "http://localhost:8080"
  2. HELLO_INTERVAL = 2
  3. IDLE_TIME = 60
  4. MAX_FAILED_CONNECTIONS = 10
  5. PERSIST = True
  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