You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
Expected:
The interface attribute of Rex::Post::Meterpreter::Extensions::Stdapi::Net::Route should be comparable to an attribute on Rex::Post::Meterpreter::Extensions::Stdapi::Net::Interface. As it stands, Windows returns a Stringified version of Interface#index, while Linux returns Interface#mac_name.
Actual:
In this example, I have two sessions, the first Windows, the second Linux.
@OJ asked what it should look like, and @jlee-r7 responded: I think that depends on whether we can rely on Linux's indexes to remain consistent. If so, then it should just be a TLV_TYPE_UINT for the index on both. Otherwise, I think we have to use the name, which sorta sucks because they're ridiculous on windows.
This issue was RM8702, originally filed by by @jlee-r7
Expected:
The
interface
attribute ofRex::Post::Meterpreter::Extensions::Stdapi::Net::Route
should be comparable to an attribute onRex::Post::Meterpreter::Extensions::Stdapi::Net::Interface
. As it stands, Windows returns aString
ified version ofInterface#index
, while Linux returnsInterface#mac_name
.Actual:
In this example, I have two sessions, the first Windows, the second Linux.
@OJ asked what it should look like, and @jlee-r7 responded: I think that depends on whether we can rely on Linux's indexes to remain consistent. If so, then it should just be a TLV_TYPE_UINT for the index on both. Otherwise, I think we have to use the name, which sorta sucks because they're ridiculous on windows.
@jlee-r7 also provided a workaround on the Ruby side, here:
jlee-r7/metasploit-framework@c6e1e59#diff-6f1044d7b2cf3f1f66d9c1871ede170cR327
The text was updated successfully, but these errors were encountered: