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

UDP network channels too stream-y #121

Open
acammack-r7 opened this issue Apr 6, 2018 · 0 comments
Open

UDP network channels too stream-y #121

acammack-r7 opened this issue Apr 6, 2018 · 0 comments

Comments

@acammack-r7
Copy link
Contributor

acammack-r7 commented Apr 6, 2018

UDP channels mostly work in a client-oriented way, but lack all the datagram features. Windows meterpreter seems to support the following that mettle does not (see: https://github.com/rapid7/metasploit-payloads/blob/master/c/meterpreter/source/extensions/stdapi/server/net/socket/udp.c)

  • Binding the socket to a specific port, 'LocalPort' in Rex parlance.
  • Sending to arbitrary (IP, port) tuples, a la sendto
  • Receiving from arbitrary senders via recvfrom

Additional minor thing: network channel reads are not written to the debug log.

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

No branches or pull requests

2 participants