Nmap Development mailing list archives

Re: AFP showmount script


From: David Fifield <david () bamsoftware com>
Date: Tue, 12 Jan 2010 16:25:13 -0700

On Mon, Jan 04, 2010 at 11:14:27AM +0100, Patrik Karlsson wrote:
Hi,

I have been working on a new AFP script recently and I'm submitting a
first version to the list. It is similar to the nfs-showmount script
as it attempts to list publicly shared volumes and their ACLs. I have
put all the protocol specific stuff into afp.lua which goes inside the
nselibs directory. As always it needs testing and feedback is of
course much appreciated.

I'm having trouble getting it to work. The debug output shows it is
getting a response but it's not appearing in the port table.

$ ./nmap --datadir . -p afp -PN 192.168.0.190 --script=afp-showmount -d

Starting Nmap 5.10BETA2 ( http://nmap.org ) at 2010-01-12 16:20 MST
Initiating NSE at 16:20
NSE: NSE Script Threads (1) running:
NSE: Starting afp-showmount against 192.168.0.190:548.
NSE: Volumes: 1
NSE: Volume name: david's Public Folder
NSE: Vol_id: 1
NSE: Finished afp-showmount against 192.168.0.190:548.
Completed NSE at 16:20, 0.04s elapsed
NSE: Script Scanning completed.
Nmap scan report for 192.168.0.190
Host is up, received user-set (0.0038s latency).
Scanned at 2010-01-12 16:20:45 MST for 0s
PORT    STATE SERVICE REASON
548/tcp open  afp     syn-ack

I attached a pcap file in case it helps.

David Fifield

Attachment: afp-showmount.pcap
Description:

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

Current thread: