afp-ls
脚本使用类型:
portrule
脚本所属分类:
discovery, safe
脚本下载地址: http://nmap.org/svn/scripts/afp-ls.nse
Attempts to get useful information about files from AFP volumes.
The output is intended to resemble the output of ls
.
If set, limits the amount of files returned by the script (default 10).
执行格式
nmap -sV --script=afp-ls <target>
PORT STATE SERVICE 548/tcp open afp syn-ack | afp-ls: | Macintosh HD | PERMISSION UID GID SIZE TIME FILENAME | -rw-r--r-- 501 80 15364 2010-06-13 17:52 .DS_Store | ---------- 0 80 0 2009-10-05 07:42 .file | drwx------ 501 20 0 2009-11-04 17:28 .fseventsd | -rw------- 0 0 393216 2010-06-14 01:49 .hotfiles.btree | drwx------ 0 80 0 2009-11-04 18:19 .Spotlight-V100 | d-wx-wx-wx 0 80 0 2009-11-04 18:25 .Trashes | drwxr-xr-x 0 0 0 2009-05-18 21:29 .vol | drwxrwxr-x 0 80 0 2009-04-28 00:06 Applications | drwxr-xr-x 0 0 0 2009-05-18 21:43 bin | drwxr-xr-x 501 80 0 2010-08-10 22:55 bundles | Patrik Karlsson's Public Folder | PERMISSION UID GID SIZE TIME FILENAME | -rw------- 501 20 6148 2010-12-27 23:45 .DS_Store | -rw-r--r-- 501 20 0 2007-07-24 21:17 .localized | drwx-wx-wx 501 20 0 2009-06-19 04:01 Drop Box | patrik | PERMISSION UID GID SIZE TIME FILENAME | -rw------- 501 20 11281 2010-06-14 22:51 .bash_history | -rw-r--r-- 501 20 33 2011-01-19 20:11 .bashrc | -rw------- 501 20 3 2007-07-24 21:17 .CFUserTextEncoding | drwx------ 501 20 0 2010-09-12 14:52 .config | drwx------ 501 20 0 2010-09-12 12:29 .cups | -rw-r--r-- 501 20 15364 2010-06-13 18:34 .DS_Store | drwxr-xr-x 501 20 0 2010-09-12 14:13 .fontconfig | -rw------- 501 20 102 2010-06-14 01:46 .lesshst | -rw-r--r-- 501 20 241 2010-06-14 01:45 .profile | -rw------- 501 20 218 2010-09-12 16:35 .recently-used.xbel | | Information retrieved as: patrik |_ Output restricted to 10 entries per volume. (See afp-ls.maxfiles)
Author: Patrik Karlsson
License: VER007 整理 http://www.ver007.com