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
Cleanup Post::Windows::Services #1026
Cleanup Post::Windows::Services #1026
Conversation
* Pulls common code up from several methods into #open_sc_manager * Deprecates the name Windows::WindowsServices in favor of Windows::Services. The platform is already clear from the namespace. * Makes the post/test/services test module actually work [See rapid7#1007] [See rapid7#1012]
Also makes the test for service_start a little more resilient in case W32Time is already started
Fast eyeball, looks good for me, only some comments:
|
It was originally intended to test @kernelsmith 's enhancements for manipulating services over command shells as well as meterpreter. If and when we ever get to a point where that can be merged into master, we will need to revisit the old tests in |
See #1013 |
I'm going to pick this up after this week's release has been cut. It's a lot of changes that I'm not fully understanding yet. |
Reviewing... |
Tested existing msf modules, all function fine: Tested a local exploit trusted_service_path:
Tested a post module:
But how do I run the test module? It's not loaded by msfconsole, and then everytime I move to somewhere loadable I get: NameError uninitialized constant Msf::ModuleTest. I'm also not finding any documentation about this. |
@wchen-r7 |
Better now, thx:
|
No description provided.