Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] network interfaces
From: Djalal Harouni <tixxdz () opendz org>
Date: Wed, 9 Mar 2011 22:03:51 +0100

On 2011-02-28 21:09:41 -0800, David Fifield wrote:
On Mon, Feb 28, 2011 at 09:26:41AM +0100, Djalal Harouni wrote:
On 2011-02-27 19:18:06 -0600, Ron wrote:
One month late, but I wanted to say - this sounds handy. I've run
into the issue of needing info on an interface multiple times
(though I can't remember where, DHCP was likely involved) and it'd
be great to have an easier way to handle that! 

Yes Ron, your dhcp-discover script will need this info (prerule mode).
Perhaps when you have some time, you can make a small test to see if
it's working and you have all the info you need, thx.

Yeah, basically I want this patch implemented with at least one script
to shake out any bugs. Feel free (anybody) to make a branch and add the
interface patch, then make changes to dhcp-discover or any other script.
Then we'll merge it all at once.
Pls find attached a new version to make the 'nmap.get_interface_info()'
function return nil and an error message on failures as suggested by

If you want to test the patch for bugs a script get_interface.nse is also
attached, but I think it would be better to test it with a real example.

BTW David when you have some time, pls check the Nping/libnetutil
problem I've mentioned in the first mail of this thread. Thx in advance.


Attachment: nse_get_interface.diff

Attachment: get_interface.nse

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]