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

Merged
merged 3 commits into from
Jan 12, 2025

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
@Cx01N Cx01N linked an issue Jan 12, 2025 that may be closed by this pull request
1 task
@vinnybod vinnybod merged commit b9a2d98 into BC-SECURITY:main Jan 12, 2025
vinnybod added a commit that referenced this pull request Jan 12, 2025
Fixing delay/jitter adjustment in python agent (#764) (#765)
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.

[BUG] Delay/Jitter adjustment broken in python agent
3 participants