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

Fix #4323 - More undef 'payload_exe' in other modules #4324

Merged
merged 2 commits into from Dec 12, 2014

Conversation

wchen-r7
Copy link
Contributor

@wchen-r7 wchen-r7 commented Dec 5, 2014

Root cause

payload_exe is an accessor in the TFPT command stager mixin, you need stager_instance in order to retrieve that info.

This fixes #4323

Root cause: payload_exe is an accessor in the TFPT command stager
mixin, you need stager_instance in order to retreive that info.
Fix rapid7#4246

... so it will automatically close the ticket.
@wchen-r7 wchen-r7 changed the title Fix #4246 - More undef 'payload_exe' in other modules Fix #4323 - More undef 'payload_exe' in other modules Dec 5, 2014
@@ -163,7 +163,7 @@ def exploit
end

def on_new_session(client)
return if not payload_exe
return if not stager_instance.payload_exe
Copy link

Choose a reason for hiding this comment

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

some day, these should be unless instead of if not. but that day is not today.

@todb-r7 todb-r7 self-assigned this Dec 12, 2014
@todb-r7
Copy link

todb-r7 commented Dec 12, 2014

Hmm I'm going to have to reopen #4246 after this lands.

@todb-r7 todb-r7 merged commit 7ae786a into rapid7:master Dec 12, 2014
todb-r7 pushed a commit that referenced this pull request Dec 12, 2014
@wchen-r7 wchen-r7 deleted the fix_4323 branch August 22, 2016 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undef method payload_exe in more modules
2 participants