Skip to content

Conversation

@cgranleese-r7
Copy link
Contributor

@cgranleese-r7 cgranleese-r7 commented Oct 18, 2023

This PR updates the Python and PHP Meterpreter to now support resolving multiple IPs. Previously resolve_host and resolve_hosts would only resolve a single IP per host. Now they will resolve each IP per host.

This is achieved by now having packing TLV_TYPE_IP and TLV_TYPE_ADDR_TYPE into a TLV_META_TYPE_GROUP TLV called TLV_TYPE_RESOLVE_HOST_ENTRY.

To ensure this is backwards compatible, we will be updating the Metasploit-Framework side of things to check for both the now TLV type as well as the old TLVs.

This is part of a larger effort to update all Meterpreter implementations:
Updating other Meterpreter implementations:

Metasploit Framework PR:

@adfoster-r7 adfoster-r7 changed the title Adds support for resolving multiple hosts Adds support for resolving multiple host ips Oct 18, 2023
@cgranleese-r7 cgranleese-r7 force-pushed the meterpreter-resolve-multiple-hosts branch 2 times, most recently from 1bf7584 to 681b857 Compare October 18, 2023 13:52
@cgranleese-r7 cgranleese-r7 force-pushed the meterpreter-resolve-multiple-hosts branch 2 times, most recently from e6ff953 to d8f9f00 Compare November 1, 2023 09:36
@cgranleese-r7 cgranleese-r7 added the metasploit-framework-testing-branch Runs framework and custom payloads PRs - https://github.com/rapid7/metasploit-payloads/pull/723 label Jan 9, 2025
@cgranleese-r7 cgranleese-r7 force-pushed the meterpreter-resolve-multiple-hosts branch from aaff3a9 to 757db13 Compare January 9, 2025 09:24
@cgranleese-r7 cgranleese-r7 force-pushed the meterpreter-resolve-multiple-hosts branch from 757db13 to ac6cbb1 Compare January 29, 2025 12:08
@adfoster-r7
Copy link
Contributor

Attic'ing for now rapid7/metasploit-framework#18499 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metasploit-framework-testing-branch Runs framework and custom payloads PRs - https://github.com/rapid7/metasploit-payloads/pull/723

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants