Add built-in report_screenshot tome for screenshot collection#2226
Merged
Add built-in report_screenshot tome for screenshot collection#2226
report_screenshot tome for screenshot collection#2226Conversation
Agent-Logs-Url: https://github.com/spellshift/realm/sessions/1ce552ca-8d49-4dcf-bd2e-40ee3f677a16 Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
hulto
April 15, 2026 01:39
View session
hulto
reviewed
Apr 15, 2026
| @@ -0,0 +1,5 @@ | |||
| name: Report screenshot | |||
| description: Report screenshots of all displays on the target host back to the c2 server. | |||
Collaborator
There was a problem hiding this comment.
@copilot Not all displays just primary IIRC. Double check the implementation and libraries and report back.
Contributor
Author
There was a problem hiding this comment.
Checked eldritch-libreport implementation: report.screenshot() calls xcap::Monitor::all() and iterates each returned monitor, capturing one image per monitor. I updated the tome metadata text to avoid asserting display scope in case platform/library behavior differs in practice. Addressed in 7721b7f.
Agent-Logs-Url: https://github.com/spellshift/realm/sessions/5372f350-4f47-44fb-b454-2530a3d8a4ec Co-authored-by: hulto <7121375+hulto@users.noreply.github.com>
Contributor
Author
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds a new default Tavern tome that executes
report.screenshot, enabling operators to trigger screenshot collection without creating a custom tome. The tome is embedded with the existing built-in tome set and imported through the standard startup path.New built-in tome:
report_screenshottavern/tomes/report_screenshot/main.eldritchTome metadata
tavern/tomes/report_screenshot/metadata.ymlCOLLECTION)Behavior
tavern/tomes/*