RE: Send control character in telnet from NASL?

From: Minderhout, Doug (dminderhoutat_private)
Date: Wed Feb 26 2003 - 07:57:06 PST

  • Next message: Michael Scheidell: "quicktime server remote root exploit"

    durf... I forgot od is OCTAL... 
    
    Thanks for letting me know I'm a dumbass.
    
    > -----Original Message-----
    > From: Renaud Deraison [mailto:deraisonat_private]
    > Sent: Wednesday, February 26, 2003 9:22 AM
    > To: plugins-writersat_private
    > Subject: Re: Send control character in telnet from NASL?
    > 
    > 
    > On Wed, Feb 26, 2003 at 10:08:26AM -0500, Minderhout, Doug wrote:
    > > I need to send a Ctrl+Y in a telnet session for a nasl I'm 
    > working on, does
    > > anyone know how to do this?
    > > 
    > > I have tried the following code to no avail:
    > > 
    > > test = raw_string(0x31);
    > > send(socket:soc, data:test);
    > > 
    > > I tried 0x25 and 0x31 as the value for "Ctrl+Y" as I got 
    > one from an ASCII
    > > chart (0x25) and one from the 'od' program (0x31).
    > 
    > 0x25 is "%" and 0x31 is "1" so I doubt these codes are correct. Try to
    > send raw_string(0x19).
    > 
    > 
    > 				-- Renaud
    > 
    



    This archive was generated by hypermail 2b30 : Wed Feb 26 2003 - 08:02:48 PST