Script http-ls

Script types: portrule
Categories: default, discovery, safe
Download: https://svn.nmap.org/nmap/scripts/http-ls.nse

Script Summary

Shows the content of an "index" Web page.

TODO: - add support for more page formats

Script Arguments

http-ls.url

base URL path to use (default: /)

http-ls.checksum

compute a checksum for each listed file. Requires OpenSSL. (default: false)

slaxml.debug

See the documentation for the slaxml library.

ls.checksum, ls.empty, ls.errors, ls.human, ls.maxdepth, ls.maxfiles

See the documentation for the ls library.

http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

See the documentation for the http library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

nmap -n -p 80 --script http-ls test-debit.free.fr

Script Output

PORT   STATE SERVICE
80/tcp open  http
| http-ls:
| Volume /
| maxfiles limit reached (10)
| SIZE        TIME               FILENAME
| 524288      02-Oct-2013 18:26  512.rnd
| 1048576     02-Oct-2013 18:26  1024.rnd
| 2097152     02-Oct-2013 18:26  2048.rnd
| 4194304     02-Oct-2013 18:26  4096.rnd
| 8388608     02-Oct-2013 18:26  8192.rnd
| 16777216    02-Oct-2013 18:26  16384.rnd
| 33554432    02-Oct-2013 18:26  32768.rnd
| 67108864    02-Oct-2013 18:26  65536.rnd
| 1073741824  03-Oct-2013 16:46  1048576.rnd
| 188         03-Oct-2013 17:15  README.html
|_

Requires


Author:

  • Pierre Lalet

License: Same as Nmap--See https://nmap.org/book/man-legal.html

portrule

portrule (host, port)

Parameters

host
 
port
 

Usage:

nmap -n -p 80 --script http-ls test-debit.free.fr