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 python meterpreter subprocess deadlock and file descriptor leak #18099

Conversation

adfoster-r7
Copy link
Contributor

Fix python meterpreter subprocess deadlock and file descriptor leak caused by the stdout/stderr file descriptors not being closed

rapid7/metasploit-payloads#653

Verification

@cgranleese-r7 cgranleese-r7 self-assigned this Jun 14, 2023
@cgranleese-r7 cgranleese-r7 added the rn-fix release notes fix label Jun 14, 2023
@cgranleese-r7
Copy link
Contributor

Before

image

After

route

meterpreter > route

IPv4 network routes
===================

    Subnet           Netmask          Gateway        Metric  Interface
    ------           -------          -------        ------  ---------
    0.0.0.0          0.0.0.0          192.168.1.254  0       en0

ipconfig

meterpreter > ipconfig

Interface  0
============
Name         : lo0

@cgranleese-r7 cgranleese-r7 merged commit 9187b96 into rapid7:master Jun 14, 2023
31 checks passed
@cgranleese-r7
Copy link
Contributor

Release Notes

This PR fixes Python Meterpreter subprocess deadlock and file descriptor leak caused by the stdout/stderr file descriptors not being closed.

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

Successfully merging this pull request may close these issues.

None yet

2 participants