Send control character in telnet from NASL?

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

  • Next message: Renaud Deraison: "Re: IIS Internal IP disclosure"

    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).
    
    Anyone have any ideas?
    



    This archive was generated by hypermail 2b30 : Wed Feb 26 2003 - 07:14:47 PST