Metasploit mailing list archives

Re: Send Arbitrary Packets


From: "Joshua J. Drake" <jdrake () metasploit com>
Date: Wed, 11 Aug 2010 10:13:23 -0500

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

Attachment: _bin
Description:

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

Current thread: