Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: [NSE] Dropbox LanSync host collection
From: Andrew Orr <andrew () andreworr ca>
Date: Fri, 14 Jan 2011 10:46:48 -0600

Usage/output patch attached as requested. Note this is against the current script in svn.

On a side note - while we were working on this script (and just now when I was testing it again) we ran into the problem of trying to bind to a port already in use - ie if you're running the dropbox client on the system you're scanning from. You can see this in the debug output (-d3) but IIRC we couldn't figure out a way to catch this from NSE and display a decent error message.

Debug output is: NSOCK (0.0820s) Bind to 0.0.0.0 failed (IOD #1)

In this case, the nmap.new_socket("udp").bind() call is returning a true status in this case when it seemingly should be false. Anyone encounter this before?

On another side note, at our next hackathon (Saturday) we're baking cupcakes for [1]. If only nmap scripts were as tasty as cupcakes :P.

Cheers,
-Andrew

[1] http://hackerspaces.org/wiki/Global_Hackerspace_Cupcake_Challenge

On 11-01-14 12:33 AM, Fyodor wrote:
On Mon, Dec 13, 2010 at 06:30:49PM -0600, Mak Kolybabi wrote:
Yesterday we had the first of (hopefully) many hackathons here in Winnipeg. We
decided to write a bunch of Nmap scripts as our activity. Attached is the first
of these scripts, submitted for (hopefully) inclusion into Nmap. More will
follow.

This looks great, and David has checked it in.  But can someone add
(or send me a patch for) @output information to this script for the
NSEDoc?  I think adding @usage is a good idea too, since the
auto-generated default usage at
http://nmap.org/nsedoc/scripts/broadcast-dropbox-listener.html isn't
reall appropriate for this script (you don't really need to specify
targets).  Also, it would be great if the description mentioned that
it can optionally add discovered dropbox IPs to the Nmap target list
(with --newtargets).  Maybe that could be one of the examples in the
new @usage section.

Actually I just updated the description a bit, but @output and @usage
would still be very nice.

I'm going through all the new scripts (45 of them! Wow!) to document
the upcoming release.

I hope you have more Nmap hackathons!

Cheers,
Fyodor

Attachment: broadcast-dropbox-listener.nse.patch
Description:

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

  By Date           By Thread  

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