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

clean up code duplication #18835

Merged

Conversation

zgoldman-r7
Copy link
Contributor

Follow on to #18763

Removes redundant code from recent change.
To test:
./msfconsole -q
features set mssql_session_type true
save
exit
use mssql_login
get a session with run CreateSession=true
use mssql_payload
make sure that still works as expected

@adfoster-r7
Copy link
Contributor

cc @cgranleese-r7 - was there anything else from the feedback in #18763 that you were wanting to pull into this PR too?

@cgranleese-r7
Copy link
Contributor

I'll take a proper look at this now that the new session type work has died down. Sorry about the wait.

@cgranleese-r7 cgranleese-r7 self-assigned this Mar 7, 2024
@zgoldman-r7 zgoldman-r7 force-pushed the mssql-session-modules-fast-follow branch from 196cd92 to 7ce91df Compare March 11, 2024 14:09
@cgranleese-r7 cgranleese-r7 added the rn-enhancement release notes enhancement label Mar 12, 2024
@cgranleese-r7 cgranleese-r7 merged commit 4e0e3da into rapid7:master Mar 12, 2024
35 checks passed
@cgranleese-r7
Copy link
Contributor

Release Notes

This PR reduces code duplication in the modules/exploits/windows/mssql/mssql_payload module.

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

Successfully merging this pull request may close these issues.

None yet

3 participants