Nmap Development mailing list archives

stdnse.make_buffer(socket, "\r")


From: Toni Ruottu <toni.ruottu () iki fi>
Date: Sat, 27 Nov 2010 18:57:06 +0200

  hello

I am trying to chat with a server that uses "\r" as a line separator.
I do stdnse.make_buffer(socket, "\r") to handle buffering. The problem
is that make_buffer will never return anything unless the server sends
"\n". Is this considered appropriate behavior from make_buffer, or
would this be considered a bug? I am asking because fixing this for
each script separately would require duplicating lots of functionality
available in the standard library.

  cheers, --Toni
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: