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

docs and rubocop for several post/windows/gather modules #14258

Merged
merged 3 commits into from
Oct 19, 2020

Conversation

h00die
Copy link
Contributor

@h00die h00die commented Oct 11, 2020

This adds docs and rubocop for:

  • modules/post/windows/gather/dnscache_dump.rb
  • modules/post/windows/gather/enum_hostfile.rb
  • modules/post/windows/gather/lsa_secrets.rb
  • (docs only) post/windows/gather/credentials/windows_autologin.md
  • (docs only) post/windows/gather/enum_ad_groups.md
  • (docs only) post/windows/gather/enum_domain.md
  • (docs only) post/windows/gather/enum_domain_group_users.md

modules/post/windows/gather/lsa_secrets.rb also now stores the secrets, optionally, in the database as creds.

windows/gather/enum_domain_group_users.rb had nil loop bug if no users were in the group, so I fixed that crash.

@h00die h00die added the docs label Oct 11, 2020
@h00die h00die added the bug label Oct 11, 2020
@@ -73,6 +73,7 @@ def get_members(results)

# Usernames start somewhere around line 6
results = results.slice(6, results.length)
return members if results.nil?
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@adfoster-r7 adfoster-r7 merged commit 76d5a4e into rapid7:master Oct 19, 2020
@adfoster-r7
Copy link
Contributor

adfoster-r7 commented Oct 19, 2020

Original Release Notes

Adds documentation and code quality changes to the following modules:

  • modules/post/windows/gather/dnscache_dump.rb
  • modules/post/windows/gather/enum_hostfile.rb
  • modules/post/windows/gather/lsa_secrets.rb
  • (docs only) post/windows/gather/credentials/windows_autologin.md
  • (docs only) post/windows/gather/enum_ad_groups.md
  • (docs only) post/windows/gather/enum_domain.md
  • (docs only) post/windows/gather/enum_domain_group_users.md

@adfoster-r7 adfoster-r7 added the rn-enhancement release notes enhancement label Oct 19, 2020
@h00die h00die deleted the win_post_docs branch October 24, 2020 13:37
@pbarry-r7
Copy link
Contributor

pbarry-r7 commented Oct 28, 2020

Release Notes

Improved module code and added module docs for a number of Windows post modules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug docs rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants