poweradminllc / PAExec

Remote execution, like PsExec
531 stars 177 forks source link

Fix remote code execution if not locally logged in as admin #38

Closed pgrawehr closed 3 years ago

pgrawehr commented 4 years ago

This resolves an issue where paexec would fail to start its service task remotely if it is not run as admin on the local computer. The solution bases on the MSDN documentation for the OpenSCManager function. You still have to provide admin credentials for the remote machine, though.

mi-hol commented 3 years ago

@poweradminllc is this repo still getting maintainance?

pgrawehr commented 3 years ago

@mi-hol Doesn't look like, I'm affraid. You can check out my fork at https://github.com/pgrawehr/PAExec (be sure to use the "develop" branch) and build yourself, if you need one of the recent fixes.

mi-hol commented 3 years ago

@pgrawehr thanks for your offer but it appears that my question resolved the blocking issue and version 1.28 appeared. :) Unfortunately the new version didn't resolve my issue but the root cause isn't clear yet and could be elsewhere :(