Nmap Development mailing list archives
Re: Adding new NSE discovered targets to Nmap
From: Fyodor <fyodor () insecure org>
Date: Sun, 15 Aug 2010 19:00:25 -0700
On Fri, Aug 13, 2010 at 06:22:31PM +0200, Patrik Karlsson wrote:
nsp_new() is called for NSE in nse_nsock.cc in luaopen_nsock(). To enable broadcast, a call to nsp_setbroadcast() must be made after that call.I guess this is not currently possible and would require an additional function (eg: setbroadcast in nse_nsock.cc) accessible to NSE Lua right?
If we find proof that it is useful, we can probably just enable this for all NSE sockets. I think Nmap already sets the broadcast flag for it's connect()-based host discovery and port scanning, and Ncat now does this too (Ncat uses the nsp_setbraodcast() function mentioned by Daniel). So if setting this enables a useful script to work, and we don't identify any problems with using the flag, then we might just set it in all cases rather than provide it as an optional function. Cheers, Fyodor _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Adding new NSE discovered targets to Nmap Djalal Harouni (Aug 12)
- Re: Adding new NSE discovered targets to Nmap Ron (Aug 12)
- Re: Adding new NSE discovered targets to Nmap Patrik Karlsson (Aug 12)
- Re: Adding new NSE discovered targets to Nmap Ron (Aug 12)
- Re: Adding new NSE discovered targets to Nmap Daniel Miller (Aug 13)
- Re: Adding new NSE discovered targets to Nmap Djalal Harouni (Aug 13)
- Re: Adding new NSE discovered targets to Nmap Patrik Karlsson (Aug 13)
- Re: Adding new NSE discovered targets to Nmap Fyodor (Aug 15)
- Re: Adding new NSE discovered targets to Nmap Ron (Aug 15)
- Re: Adding new NSE discovered targets to Nmap Patrik Karlsson (Aug 15)
- Re: Adding new NSE discovered targets to Nmap Fyodor (Aug 16)
- Re: Adding new NSE discovered targets to Nmap Patrik Karlsson (Aug 16)
- Re: Adding new NSE discovered targets to Nmap Ron (Aug 16)
- Re: Adding new NSE discovered targets to Nmap Patrik Karlsson (Aug 12)
- Re: Adding new NSE discovered targets to Nmap Ron (Aug 12)
- Re: Adding new NSE discovered targets to Nmap David Fifield (Sep 19)
- Re: Adding new NSE discovered targets to Nmap Patrik Karlsson (Aug 15)
- Re: Adding new NSE discovered targets to Nmap Ron (Aug 15)
- Receiving broadcasts in Nsock David Fifield (Aug 16)
- Re: Receiving broadcasts in Nsock Patrik Karlsson (Aug 16)
