Add exploit module windows persistent service#11123
Merged
Merged
Conversation
Work around snprintf
Contributor
|
Should be only valid for msf5 on account of the metasm compiler feature. |
jrobles-r7
commented
Dec 15, 2018
jrobles-r7
left a comment
Contributor
Author
There was a problem hiding this comment.
Some changes are needed to handle paths with spaces.
In the C code, the logic for checking the install/start service can be changed for comparing against the last provided argument, argv[argc-1]. Using the last argument will let us keep the strtok logic that is currently in the code and let us handle paths with spaces.
Fix additional path space issues
Documentation Update
jrobles-r7
added a commit
that referenced
this pull request
Dec 17, 2018
Contributor
Author
Release NotesThe |
Contributor
Author
|
Thanks @Green-m ! |
Contributor
|
Thank you for landing this @shellfail
On Mon, Dec 17, 2018 at 23:18 @shellfail ***@***.***> wrote:
Thanks @Green-m <https://github.com/Green-m> !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11123 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVfdHu7tIkSeQIDsemzTAlLACQDAa1bDks5u57WxgaJpZM4ZTxT6>
.
--
Green-m
|
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Github was showing #10822 as 200+ commits and 100+ files changed. Opening in new PR so it is shown correctly.
Note:
This PR rely on #10821, please merge that before merge this.Could be merged now.resolved #10385
Verification steps
use post/windows/manage/persistence_serviceset payload <payload>set lport <lport>set lhost <lhost>set handler truerunUsage
Enjoy it!