mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Normalize NSEDoc documentation of scripts.
I made every script follow a standard form: it starts with the id, followed by the description. The description is contained in [[ ]] delimiters. The description is in the global description variable, not in a LuaDoc comment. Other LuaDoc information such as @args and @usage follows the description in a comment. The first paragraph of each description is a a short summary of what the script does. More detailed information, if any, is given in following paragraphs. I also improved some wording and formatting in a few cases.
This commit is contained in:
parent
1508da5acc
commit
8bd71aaf43
53 changed files with 634 additions and 573 deletions
|
|
@ -1,5 +1,9 @@
|
|||
--- Probes an HTTP server via directory traversal for /etc/passwd
|
||||
--
|
||||
id = "HTTP directory traversal passwd probe"
|
||||
description = [[
|
||||
Checks if a web server is vulnerable to directory traversal by attempting to
|
||||
retrieve /etc/passwd.
|
||||
]]
|
||||
|
||||
-- 07/20/2007:
|
||||
-- * Used Thomas Buchanan's HTTPAuth script as a starting point
|
||||
-- * Applied some great suggestions from Brandon Enright, thanks a lot man!
|
||||
|
|
@ -8,10 +12,6 @@
|
|||
-- * Rewritten to use Sven Klemm's excellent HTTP library and to do some much
|
||||
-- needed cleaning up
|
||||
|
||||
id = "HTTP directory traversal passwd probe"
|
||||
|
||||
description = "Probe for /etc/passwd if server is susceptible to directory traversal"
|
||||
|
||||
author = "Kris Katterjohn <katterjohn@gmail.com>"
|
||||
|
||||
license = "Same as Nmap--See http://nmap.org/book/man-legal.html"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue