Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing delay/jitter adjustment in python agent (#764) #765

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

janit0rjoe
Copy link

@janit0rjoe janit0rjoe commented Dec 17, 2024

Describe your changes

The MainAgent object of the running agent (self) has been added to globals() in empire/server/data/agent/agent.py right before executing the received python statement.
The python statement itself in empire/server/core/agent_task_service.py has been adjusted to edit the delay and jitter attributes of the MainAgent object.

Screenshot of working delay:
agent_sleep20_fix

Issue ticket number and link (if there is one)

#764

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.
  • I have added an entry to CHANGELOG.md
  • I have updated the documentation in docs/ (if applicable)

@vinnybod vinnybod requested a review from Cx01N December 20, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant