Open XhstormR opened 3 years ago
https://github.com/rapid7/metasploit-payloads/blob/master/java/meterpreter/stdapi/src/main/java/com/metasploit/meterpreter/stdapi/stdapi_channel_open.java#L54
"r" should be changed to "w":
} else if (mode.equals("w") || mode.equals("wb") || mode.equals("wbb")) {
Well spotted @XhstormR Thankfully I think r is not used on the msf side (it's always rb) which explains why this isn't currently causing issues.
r
Do you mind sending the fix as a pull request please?
https://github.com/rapid7/metasploit-payloads/blob/master/java/meterpreter/stdapi/src/main/java/com/metasploit/meterpreter/stdapi/stdapi_channel_open.java#L54
"r" should be changed to "w":