RE: Send control character in telnet from NASL?

From: John Q. Public (tpublicat_private)
Date: Wed Feb 26 2003 - 14:04:19 PST

  • Next message: H D Moore: "Re: IIS Internal IP disclosure"

    you're not a dumbass, it's actually very common.  exactly why Christmas and
    Halloween are often confused.  after all, Dec 25 = Oct 31
    
    
    On Wed, 26 Feb 2003, Minderhout, Doug wrote:
    
    |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 - 14:05:10 PST