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

Fix persistent jobs #19000

Closed

Conversation

dotslashsuperstar
Copy link
Contributor

@dotslashsuperstar dotslashsuperstar commented Mar 23, 2024

The persistent job handler dumps datastore as a string and does not correctly load or start the job. This commit will dump and load the datastore as a hash for the user_defined values only because it was throwing error for "MeterpreterDebugLogging".

I created an issue yesterday here #18995

Verification

  • Start msfconsole
  • use exploit/multi/handler
  • set payload linux/x64/meterpreter/reverse_tcp
  • set lhost ip
  • run -j
  • jobs -p job_id
  • exit
  • Start msfconsole
  • jobs

@adfoster-r7
Copy link
Contributor

Thanks for the PR! There was a bit of a race condition in implementing our fixes, sorry about that! I'll go ahead and close this one as #19002 was landed

Any raised issues and contributions are greatly appreciated 💯

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