Skip to content

Fix sleep reverting to build-time value on every reconnect in HttpxProfile#179

Open
RickConsole wants to merge 2 commits into
MythicAgents:masterfrom
RickConsole:master
Open

Fix sleep reverting to build-time value on every reconnect in HttpxProfile#179
RickConsole wants to merge 2 commits into
MythicAgents:masterfrom
RickConsole:master

Conversation

@RickConsole

Copy link
Copy Markdown

When using the httpx C2 profile, any operator-issued sleep change reverts to the build-time callback_interval after the next transient network error. This makes SOCKS unusable and sleep snaps back to the build-time value.

The fix was to move Agent.SetSleep from Start() into the constructor. This way sleep is set on startup but not overwritten on reconnect.

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.

2 participants