Nmap Development mailing list archives

[NSE] small improvement to ftp-anon


From: Gutek <ange.gutek () gmail com>
Date: Thu, 22 Jul 2010 08:26:22 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,
This small improvement to ftp-anon returns more informations when
launched in verbose mode.
It tries to retrieve the ftp root directory listing and, if the server
also provides dir and files rights (most of the cases), highlights the
writeable ones (i.e passively, nothing to do with a previous discussion
about active R/W rights check)

Sample Output :
- ---
- -- @output
- --- with verbosity -v
- -- PORT   STATE SERVICE
- -- 21/tcp open  ftp
- -- | ftp-anon: Anonymous FTP login allowed (FTP code 230)
- -- | LIST retrieved:
- -- | total 7
- -- | -rw-r--r--   1 1170     924            31 Mar 28  2001 .banner
- -- | d--x--x--x   2 root     root         1024 Jan 14  2002 bin
- -- | d--x--x--x   2 root     root         1024 Aug 10  1999 etc
- -- | drwxr-srwt   2 1170     924          2048 Jul 19 18:48 incoming
[NSE: We've got something writeable here]
- -- | d--x--x--x   2 root     root         1024 Jan 14  2002 lib
- -- |_drwxr-sr-x   2 1170     924          1024 Aug  5  2004 pub

Regards,

A.G.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkxH5I4ACgkQ3aDTTO0ha7g4aACeIdiGMbFrEo9O8B76erIVcybd
MUgAmgKLYOoeE4nfySJa43PZujQRRgYs
=3yzw
-----END PGP SIGNATURE-----

Attachment: ftp-anon-list.nse
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: