
Nmap Development mailing list archives
Re: Nmap Scripting Engine - last release candidate
From: majek04 <nmap () forest one pl>
Date: Sun, 19 Nov 2006 03:49:28 +0100
Diman Todorov wrote:
Hello List, this may be the last release candidate of the NSE scripting language. If all goes as planned the next NSE is going to be part of the Nmap Core. This means that if you would like to make contributions which are going to have a greater impact on NSE now is the best time of all. I remember people planning to add a raw socket interface to NSE or buffered I/O, these would be projects which are definitely concerned.
Well, you can be interested in buffered I/O for nsock. Patch against your NSE code is here: http://yasgot.pjwstk.edu.pl/~majek/private/nmap/nmap-4.20ALPHA11-NSE-nsockbuf.diff Or if you prefer, you can download modified nse_nsock.cc file from: http://yasgot.pjwstk.edu.pl/~majek/private/nmap/nmap-4.20ALPHA11-NSE-nsockbuf-nse_nsock.cc New Ftpbounce script that is using buffered nsock is here: http://yasgot.pjwstk.edu.pl/~majek/private/nmap/ftpbounce-nsockbuf.nse My code adds two functions to socket object in NSE: buf_receive_line -> which reads exacly one line from input (ended with \n) buf_receive_bytes -> which should read specified size of data The 'buf_receive_line' function is just briefly tested using new ftpbounce script, 'buf_receive_bytes' isn't tested at all. Marek Majkowski _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Nmap Scripting Engine - last release candidate Diman Todorov (Nov 11)
- Re: Nmap Scripting Engine - last release candidate Hans Nilsson (Nov 11)
- Re: Nmap Scripting Engine - last release candidate Arturo 'Buanzo' Busleiman (Nov 11)
- Message not available
- Re: Nmap Scripting Engine - last release candidate Diman Todorov (Nov 12)
- Re: Nmap Scripting Engine - last release candidate majek04 (Nov 18)