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

Add new SMB module to download Screenshots created by Snipping Tool #368

Merged
merged 3 commits into from
Dec 21, 2024

Conversation

Yeeb1
Copy link
Contributor

@Yeeb1 Yeeb1 commented Jul 8, 2024

Hey,

By default, the (newer) Windows Snipping Tool saves copies of screenshots in %USERPROFILE%/Pictures/Screenshots, even if you save the file in another directory. The settings for this behavior are managed locally, and apparently it is not possible to disable this feature via Group Policy (GPO).

Reference: Nathan McNulty on Twitter

snipping_tool_setings

With the help of some existing modules, I created this module to automatically download all screenshots from either all users or specific users (similar to #335.).

snipped

@mpgn
Copy link
Collaborator

mpgn commented Jul 8, 2024

Nice addition !! 👍

mpgn
mpgn previously approved these changes Aug 25, 2024
@mpgn mpgn added this to the v1.3.0 milestone Aug 25, 2024
@NeffIsBack NeffIsBack modified the milestones: v1.3.0, v1.4.0 Oct 6, 2024
Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your PR! Great work and really readable code :)
2 small changes that need to be done, i will test it the upcomding days. Then we are ready for mergin

nxc/modules/snipped.py Outdated Show resolved Hide resolved
nxc/modules/snipped.py Outdated Show resolved Hide resolved
Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, a few things came up during testing.
When you finished coding please lint the code using ruff. You can find an example how this is done is in our PR template:
https://github.com/Pennyw0rth/NetExec/blob/main/.github/PULL_REQUEST_TEMPLATE.md

nxc/modules/snipped.py Outdated Show resolved Hide resolved
nxc/modules/snipped.py Outdated Show resolved Hide resolved
nxc/modules/snipped.py Outdated Show resolved Hide resolved
nxc/modules/snipped.py Outdated Show resolved Hide resolved
Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
image

@NeffIsBack NeffIsBack merged commit 1e583a0 into Pennyw0rth:main Dec 21, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants