Metasploit mailing list archives

Re: Send Arbitrary Packets


From: Bryan Richardson <btricha () gmail com>
Date: Wed, 11 Aug 2010 09:35:30 -0600

The packet I'm wanting to send is a UDP packet, just not a protocol
that's currently implemented in Metasploit. I take your comment to
mean even if I did want to send a TCP/UDP packet I'd need to craft an
auxiliary module, correct?

--
Thanks!

On Wed, Aug 11, 2010 at 9:13 AM, Joshua J. Drake <jdrake () metasploit com> wrote:
On Wed, Aug 11, 2010 at 09:00:02AM -0600, Bryan Richardson wrote:
Hello All,

Is it possible to pivot arbitrary packets through a Meterpreter
session via msfconsole similar to how one might send a packet using
netcat? I noticed the "connect" command in msfconsole, but from what I
can tell it's just used to connect to a machine (with the option of
pivoting through a session). Can "connect", or some other command, be
used to actually send a packet to a machine or does a route need to be
added and an auxiliary module created that uses the Rex socket
implementation?

If an auxiliary module is necessary, would the best way to go about
sending the arbitrary packet be to use racket, or just send the string
representation of the packet with the Rex socket directly?

You cannot currently send non UDP/TCP packets via a pivot. An aux
module or plugin would be necessary to handle the conversation piece.

Hope this helps,

--
Joshua J. Drake

_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: