NetExec icon indicating copy to clipboard operation
NetExec copied to clipboard

New SMB Module Notepad

Open termanix opened this issue 9 months ago • 3 comments

Description

In the new feature of Notepad in Windows 11, data is kept saved until the file is closed. With this module, the contents of all saved notepad files are dumped.

Type of change

Please delete options that are not relevant.

  • [x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Testen on local Windows 10 and 11

If you are using poetry, you can easily run tests via: poetry run nxc $TARGET -u $USER -p $PASSWORD -M notepad

Screenshots (if appropriate):

image

Checklist:

  • [x] I have ran Ruff against my changes (via poetry: poetry run python -m ruff check . --preview, use --fix to automatically fix what it can)
  • [x] I have added or updated the tests/e2e_commands.txt file if necessary
  • [x] New and existing e2e tests pass locally with my changes
  • [x] My code follows the style guidelines of this project (should be covered by Ruff above)
  • [x] If reliant on third party dependencies, such as Impacket, dploot, lsassy, etc, I have linked the relevant PRs in those projects
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation (PR here: https://github.com/Pennyw0rth/NetExec-Wiki)

termanix avatar Mar 19 '25 20:03 termanix

Nice idea, I was about to implement this today but you beat me to it 😆 !

ledrypotato avatar Mar 21 '25 08:03 ledrypotato

Nice idea, I was about to implement this today but you beat me to it 😆 !

Thank you and sorry about that 😄 If you have any more thing and features, I can add you co-author. Take a look of mine. If you have new things just let me know.

termanix avatar Mar 21 '25 08:03 termanix

Thanks for the PR!

NeffIsBack avatar Mar 21 '25 16:03 NeffIsBack